Prevent error when disabling image label

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2612 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Brett Zamir 2013-10-29 03:58:24 +00:00
parent 2b35ec344b
commit 6ad70cf440
1 changed files with 1 additions and 1 deletions

View File

@ -1654,7 +1654,7 @@
var label = $('#g_title')[0];
label.value = title;
setInputWidth(label);
label.prop('disabled', el_name == 'use');
$('#g_title').prop('disabled', el_name == 'use');
}
}
menu_items[(el_name === 'g' ? 'en' : 'dis') + 'ableContextMenuItems']('#ungroup');