Prevent error when disabling image label
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2612 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
2b35ec344b
commit
6ad70cf440
|
@ -1654,7 +1654,7 @@
|
||||||
var label = $('#g_title')[0];
|
var label = $('#g_title')[0];
|
||||||
label.value = title;
|
label.value = title;
|
||||||
setInputWidth(label);
|
setInputWidth(label);
|
||||||
label.prop('disabled', el_name == 'use');
|
$('#g_title').prop('disabled', el_name == 'use');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
menu_items[(el_name === 'g' ? 'en' : 'dis') + 'ableContextMenuItems']('#ungroup');
|
menu_items[(el_name === 'g' ? 'en' : 'dis') + 'ableContextMenuItems']('#ungroup');
|
||||||
|
|
Loading…
Reference in New Issue