mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
#10126 added button save in visual console
This commit is contained in:
parent
2fb7acc871
commit
aff91aa1b2
@ -862,9 +862,15 @@ ui_require_javascript_file('tiny_mce', 'include/javascript/tiny_mce/');
|
|||||||
height: 300,
|
height: 300,
|
||||||
autoOpen: false,
|
autoOpen: false,
|
||||||
beforeClose: function() {
|
beforeClose: function() {
|
||||||
|
console.log("Entra");
|
||||||
var id_layout_data = $("#active_id_layout_data").val();
|
var id_layout_data = $("#active_id_layout_data").val();
|
||||||
var label = tinyMCE.activeEditor.getContent();
|
var label = tinyMCE.activeEditor.getContent();
|
||||||
$("#hidden-label_" + id_layout_data).val(label);
|
$("#hidden-label_" + id_layout_data).val(label);
|
||||||
|
},
|
||||||
|
buttons: {
|
||||||
|
Save: function() {
|
||||||
|
$(this).dialog("close");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user