Permalink
Browse files

MINOR Fixed some JS warnings

  • Loading branch information...
1 parent c6aa069 commit 7924ce9f748c365fb21c314bcb8d9efdfcecb87c @chillu chillu committed Oct 29, 2011
Showing with 2 additions and 6 deletions.
  1. +1 −5 admin/javascript/LeftAndMain.Content.js
  2. +1 −1 admin/javascript/LeftAndMain.EditForm.js
@@ -42,11 +42,7 @@
this._super();
},
-
- onunmatch: function() {
- this._super();
- },
-
+
redraw: function() {
this.layout();
},
@@ -83,7 +83,7 @@
onunmatch: function() {
// Prepare iframes for removal, otherwise we get loading bugs
this.find('iframe').each(function() {
- this.contentWindow.location.href = 'about:blank';
+ $(this).attr('src', 'about:blank');
$(this).remove();
});

0 comments on commit 7924ce9

Please sign in to comment.