Working in the new elements for the visualmap. Ticket #1478

This commit is contained in:
mdtrooper 2014-11-25 18:59:05 +01:00
parent 35739261fb
commit 0bc0fb1d7b
1 changed files with 12 additions and 1 deletions

View File

@ -604,7 +604,18 @@ function toggle_item_palette() {
item = selectedItem;
toolbuttonActive = item;
activeToolboxButton(toolbuttonActive, true);
switch (item) {
case 'handler_start':
case 'handler_end':
activeToolboxButton('line_item', true);
break;
default:
activeToolboxButton(toolbuttonActive, true);
break;
}
$("#button_create_row").css('display', 'none');
$("#button_update_row").css('display', '');
cleanFields();