Skip to content

Commit

Permalink
frontend edits
Browse files Browse the repository at this point in the history
  • Loading branch information
kkellydesign committed Oct 6, 2015
1 parent 39bde73 commit 5940566
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ $(document).ready(function(){
// hide galleries, because they make the form crazy long
$('#images-group').before("<a href='#' id='gallery_dropdown'>Edit the image gallery for this page <span>›</span></a>");
$('#images-group').hide();
$('#items-group').before("<a href='#' id='gallery_dropdown'>Edit the image gallery for this project <span>›</span></a>");
$('#items-group').hide();

function labelTables(){
$('#servee_container .module table').each(function(){
Expand Down Expand Up @@ -116,6 +118,7 @@ $(document).ready(function(){
};
$('#gallery_dropdown').on("click", function(e){
$('#images-group').toggle();
$('#items-group').toggle();
labelTables();
e.preventDefault();
return false;
Expand Down
2 changes: 1 addition & 1 deletion servee/frontendadmin/static/servee/js/frontendadmin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5940566

Please sign in to comment.