We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1177e84 commit c5897c9Copy full SHA for c5897c9
src/js/model.js
@@ -303,11 +303,9 @@ function modelFilterListView(slug) {
303
304
function modelCreate(slug, cloneFromId) {
305
loading();
306
- if (cloneFromId) {
307
- $('.tinymce').each(function() {
308
- tinyMCE.get(this.id).save();
309
- });
310
- }
+ $('.tinymce').each(function() {
+ tinyMCE.get(this.id).save();
+ });
311
var data = $('#model_form').serialize();
312
if (cloneFromId) {
313
data += '&__cloneFromId=' + cloneFromId;
0 commit comments