#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,
|
||||
autoOpen: false,
|
||||
beforeClose: function() {
|
||||
console.log("Entra");
|
||||
var id_layout_data = $("#active_id_layout_data").val();
|
||||
var label = tinyMCE.activeEditor.getContent();
|
||||
$("#hidden-label_" + id_layout_data).val(label);
|
||||
},
|
||||
buttons: {
|
||||
Save: function() {
|
||||
$(this).dialog("close");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue