diff --git a/var/www/modules/PasteSubmit/Flask_PasteSubmit.py b/var/www/modules/PasteSubmit/Flask_PasteSubmit.py
index 68f0952d..3b8ea8bd 100644
--- a/var/www/modules/PasteSubmit/Flask_PasteSubmit.py
+++ b/var/www/modules/PasteSubmit/Flask_PasteSubmit.py
@@ -280,7 +280,7 @@ def PasteSubmit_page():
#active galaxies
active_galaxies = r_serv_tags.smembers('active_galaxies')
- return render_template("submiting.html",
+ return render_template("submit_items.html",
active_taxonomies = active_taxonomies,
active_galaxies = active_galaxies)
diff --git a/var/www/modules/PasteSubmit/templates/submit_items.html b/var/www/modules/PasteSubmit/templates/submit_items.html
index e419e599..5c2081a5 100644
--- a/var/www/modules/PasteSubmit/templates/submit_items.html
+++ b/var/www/modules/PasteSubmit/templates/submit_items.html
@@ -169,7 +169,7 @@
-
+
@@ -187,6 +187,7 @@ var ltags
var ltagsgalaxies
$(document).ready(function(){
+ $("#page-items-submit").addClass("active");
$.getJSON("{{ url_for('Tags.get_all_tags_taxonomies') }}",
function(data) {
@@ -198,20 +199,17 @@ $(document).ready(function(){
});
});
- $.getJSON("{{ url_for('Tags.get_all_tags_galaxy') }}",
- function(data) {
+ $.getJSON("{{ url_for('Tags.get_all_tags_galaxy') }}",
+ function(data) {
- ltagsgalaxies = $('#ltagsgalaxies').tagSuggest({
- data: data,
- maxDropHeight: 200,
- name: 'ltagsgalaxies'
- });
- });
+ ltagsgalaxies = $('#ltagsgalaxies').tagSuggest({
+ data: data,
+ maxDropHeight: 200,
+ name: 'ltagsgalaxies'
+ });
+ });
- activePage = "page-PasteSubmit"
- $("#"+activePage).addClass("active");
-
- $('#modalsubmit').modal({backdrop: 'static'})
+ $('#modalsubmit').modal({backdrop: 'static'})
});
function toggle_sidebar(){
diff --git a/var/www/templates/nav_bar.html b/var/www/templates/nav_bar.html
index 462c375f..2908b984 100644
--- a/var/www/templates/nav_bar.html
+++ b/var/www/templates/nav_bar.html
@@ -13,7 +13,7 @@
Home
- Submit
+ Submit
Browse Items