Commit c62537a0 authored by Akikonata's avatar Akikonata

deleted extra code

parents 390ac49a 562601c2
...@@ -17,7 +17,8 @@ KM.registerToolbarUI( 'node', function ( name ) { ...@@ -17,7 +17,8 @@ KM.registerToolbarUI( 'node', function ( name ) {
itemStyles: [], itemStyles: [],
value: [], value: [],
autowidthitem: [], autowidthitem: [],
enabledRecord: false enabledRecord: false,
enabledSelected: false
}, },
$combox = null; $combox = null;
if ( options.items.length == 0 ) { if ( options.items.length == 0 ) {
......
...@@ -125,10 +125,6 @@ kity.extendClass( Minder, { ...@@ -125,10 +125,6 @@ kity.extendClass( Minder, {
json = params.json || ( params.json = protocal.decode( local ) ); json = params.json || ( params.json = protocal.decode( local ) );
this._fire( new MinderEvent( 'importData', {
data: json
}, true ) );
if ( typeof json === 'object' && 'then' in json ) { if ( typeof json === 'object' && 'then' in json ) {
var self = this; var self = this;
json.then( local, function ( data ) { json.then( local, function ( data ) {
......
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