Skip to content
Browse files

fixes issue #2754 and #2742

  • Loading branch information...
1 parent 2622ed9 commit ce5ab467541badcc873c2f1179dd29bf0bac8550 @FinalAngel FinalAngel committed Feb 27, 2014
Showing with 3 additions and 2 deletions.
  1. +3 −2 cms/static/cms/js/plugins/cms.modal.js
View
5 cms/static/cms/js/plugins/cms.modal.js
@@ -373,8 +373,6 @@ $(document).ready(function () {
'top': modalTop + mvY
});
});
-
- console.log($(window).scrollTop());
},
_endResize: function () {
@@ -509,6 +507,9 @@ $(document).ready(function () {
// after iframe is loaded append css
contents.find('head').append($('<link rel="stylesheet" type="text/css" href="' + that.config.urls.static + that.options.urls.css_modal + '" />'));
+ // set modal buttons
+ that._setButtons($(this));
+
// when an error occurs, reset the saved status so the form can be checked and validated again
if(iframe.contents().find('.errornote').length || iframe.contents().find('.errorlist').length) {
that.saved = false;

0 comments on commit ce5ab46

Please sign in to comment.
Something went wrong with that request. Please try again.