Skip to content

Commit

Permalink
fixing issue with toggling adminbars and metadata not visible
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhuang committed May 6, 2013
1 parent 3ace050 commit 6ba09fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deme_django/static/javascripts/deme/metabar-ck.js

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

3 changes: 2 additions & 1 deletion deme_django/static/javascripts/deme/metabar.js
Expand Up @@ -145,13 +145,14 @@ $(function(){
$.ajax({
url: url,
success: function(data) {
collapse.addClass('ajax-loaded');
collapse.find('.content').html(data);
collapse.css('height', 'auto');
if (typeof(cb) == 'function') {
cb(collapse);
}
}
})
collapse.addClass('ajax-loaded');
} else {
if (typeof(cb) == 'function') {
cb(collapse);
Expand Down

0 comments on commit 6ba09fb

Please sign in to comment.