Changeset 2905:a7a0df6048be
- Timestamp:
- 01/06/15 10:15:05 (9 years ago)
- Branch:
- 2.7
- Children:
- 2906:6e7e433ef6d3, 2907:d5da0414c363
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/themeEditor/script.js
r2902 r2905 2 2 // Cope with saving 3 3 var msg = false; 4 $('#file-form input[name="write"]').click(function( ) {4 $('#file-form input[name="write"]').click(function(e) { 5 5 var f = this.form; 6 6 … … 27 27 $('#file-chooser').empty(); 28 28 $(res).find('#file-chooser').children().appendTo('#file-chooser'); 29 confirmClosePage.getCurrentForms();30 29 30 if ($.isFunction(confirmClosePage['getCurrentForms'])) { 31 confirmClosePage.forms = []; 32 confirmClosePage.getCurrentForms(); 33 } 31 34 } 32 35 }); 33 36 34 return false;37 e.preventDefault(); 35 38 }); 36 39
Note: See TracChangeset
for help on using the changeset viewer.