Fixed bug that broke svg-edit in non-FF browsers
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1305 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -146,7 +146,7 @@ $(function() {
|
||||
key: "L",
|
||||
includeWith: {
|
||||
button: '#tool_line',
|
||||
'default': true,
|
||||
isDefault: true,
|
||||
position: 1
|
||||
},
|
||||
events: {
|
||||
|
||||
@@ -428,7 +428,7 @@ function svg_edit_setup() {
|
||||
|
||||
var ref_data = Actions.getButtonData(opts.button);
|
||||
|
||||
if(opts.default) {
|
||||
if(opts.def) {
|
||||
placement_obj['#' + tls_id + '_show'] = btn.id;
|
||||
}
|
||||
// TODO: Find way to set the current icon using the iconloader if this is not default
|
||||
@@ -438,7 +438,7 @@ function svg_edit_setup() {
|
||||
sel: '#'+id,
|
||||
fn: btn.events.click,
|
||||
icon: btn.id,
|
||||
isDefault: btn.includeWith?btn.includeWith.default:0
|
||||
isDefault: btn.includeWith?btn.includeWith.isDefault:0
|
||||
}, ref_data];
|
||||
|
||||
// {sel:'#tool_rect', fn: clickRect, evt: 'mouseup', key: 4, parent: '#tools_rect', icon: 'rect'}
|
||||
|
||||
Reference in New Issue
Block a user