mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
2013-04-10 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.editor.js: fixed the autosave and non-autosave actions. Fixes: #3609806 * godmode/reporting/visual_console_builder.editor.php: re-added the translations to strings for the error messages for user across the javascript. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7958 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
ee7c9388b6
commit
bc3e024a85
@ -1,3 +1,14 @@
|
|||||||
|
2013-04-10 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* godmode/reporting/visual_console_builder.editor.js: fixed the
|
||||||
|
autosave and non-autosave actions.
|
||||||
|
|
||||||
|
Fixes: #3609806
|
||||||
|
|
||||||
|
* godmode/reporting/visual_console_builder.editor.php: re-added
|
||||||
|
the translations to strings for the error messages for user across
|
||||||
|
the javascript.
|
||||||
|
|
||||||
2013-04-10 Miguel de Dios <miguel.dedios@artica.es>
|
2013-04-10 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* include/functions_visual_map_editor.php: fixed the lost field
|
* include/functions_visual_map_editor.php: fixed the lost field
|
||||||
|
@ -1483,6 +1483,10 @@ function deleteDB(idElement) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function activeToolboxButton(id, active) {
|
function activeToolboxButton(id, active) {
|
||||||
|
if ($("input." + id + "[name=button_toolbox2]").length == 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (active) {
|
if (active) {
|
||||||
$("input." + id + "[name=button_toolbox2]").removeAttr('disabled');
|
$("input." + id + "[name=button_toolbox2]").removeAttr('disabled');
|
||||||
}
|
}
|
||||||
@ -1774,7 +1778,7 @@ function click_button_toolbox(id) {
|
|||||||
break;
|
break;
|
||||||
case 'auto_save':
|
case 'auto_save':
|
||||||
if (autosave) {
|
if (autosave) {
|
||||||
activeToolboxButton('save', true);
|
activeToolboxButton('save_visualmap', true);
|
||||||
autosave = false;
|
autosave = false;
|
||||||
|
|
||||||
//Disable all toolbox buttons.
|
//Disable all toolbox buttons.
|
||||||
@ -1788,6 +1792,7 @@ function click_button_toolbox(id) {
|
|||||||
activeToolboxButton('simple_value', false);
|
activeToolboxButton('simple_value', false);
|
||||||
activeToolboxButton('label', false);
|
activeToolboxButton('label', false);
|
||||||
activeToolboxButton('icon', false);
|
activeToolboxButton('icon', false);
|
||||||
|
activeToolboxButton('service', false);
|
||||||
|
|
||||||
activeToolboxButton('edit_item', false);
|
activeToolboxButton('edit_item', false);
|
||||||
activeToolboxButton('delete_item', false);
|
activeToolboxButton('delete_item', false);
|
||||||
@ -1817,7 +1822,7 @@ function click_button_toolbox(id) {
|
|||||||
activeToolboxButton('icon', true);
|
activeToolboxButton('icon', true);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'save':
|
case 'save_visualmap':
|
||||||
var status = true;
|
var status = true;
|
||||||
activeToolboxButton('save', false);
|
activeToolboxButton('save', false);
|
||||||
jQuery.each(list_actions_pending_save, function(key, action_pending_save) {
|
jQuery.each(list_actions_pending_save, function(key, action_pending_save) {
|
||||||
|
@ -52,7 +52,7 @@ if (defined('METACONSOLE')) {
|
|||||||
else {
|
else {
|
||||||
html_print_input_hidden('metaconsole', 0);
|
html_print_input_hidden('metaconsole', 0);
|
||||||
}
|
}
|
||||||
|
visual_map_editor_print_hack_translate_strings();
|
||||||
visual_map_editor_print_item_palette($visualConsole['id'], $background);
|
visual_map_editor_print_item_palette($visualConsole['id'], $background);
|
||||||
|
|
||||||
if (!defined('METACONSOLE')) {
|
if (!defined('METACONSOLE')) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user