Commit 871dd058 authored by Penny Leach's avatar Penny Leach Committed by Nigel McNie
Browse files

fixed bug in non ajax confirm delete where it was printing stuff for move block as well :/

parent 99fd3e1c
......@@ -252,7 +252,6 @@ function view_process_changes() {
case 'addblocktype': // requires action_addblocktype (blocktype in separate parameter)
$values['blocktype'] = param_alpha('blocktype', null);
break;
case 'moveblockinstance': // requires action_moveblockinstance_id_\d_column_\d_order_\d
case 'removeblockinstance': // requires action_removeblockinstance_id_\d
if (!defined('JSON')) {
if (!$sure = param_boolean('sure')) {
......@@ -266,6 +265,7 @@ function view_process_changes() {
}
}
//case 'configureblockinstance': // later
case 'moveblockinstance': // requires action_moveblockinstance_id_\d_column_\d_order_\d
case 'addcolumn': // requires action_addcolumn_before_\d
case 'removecolumn': // requires action_removecolumn_column_\d
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment