Commit 91c9bff2 authored by Akikonata's avatar Akikonata

recover

parent aeea4585
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
,'module/zoom.js' ,'module/zoom.js'
,'module/nodetext.js' ,'module/nodetext.js'
,'module/hyperlink.js' ,'module/hyperlink.js'
,'module/expand.js'
,'ui/jquery-ui-1.10.4.custom.min.js' ,'ui/jquery-ui-1.10.4.custom.min.js'
,'ui/widget.js' ,'ui/widget.js'
,'ui/button.js' ,'ui/button.js'
......
...@@ -33,7 +33,7 @@ KM.registerToolbarUI( 'hyperlink', function ( name ) { ...@@ -33,7 +33,7 @@ KM.registerToolbarUI( 'hyperlink', function ( name ) {
me.$container.find( '.kmui-dialog-container' ).append( $root ); me.$container.find( '.kmui-dialog-container' ).append( $root );
} }
KM.setWidgetBody( name, $dialog, me ); KM.setWidgetBody( name, $dialog, me );
} ).attachTo( $btn); } ).attachTo( $btn );
} ); } );
...@@ -43,4 +43,4 @@ KM.registerToolbarUI( 'hyperlink', function ( name ) { ...@@ -43,4 +43,4 @@ KM.registerToolbarUI( 'hyperlink', function ( name ) {
$btn.kmui().disabled( state == -1 ).active( state == 1 ) $btn.kmui().disabled( state == -1 ).active( state == 1 )
} ); } );
return $btn; return $btn;
} ); } );
\ No newline at end of file
...@@ -561,7 +561,6 @@ KityMinder.registerModule( "LayoutDefault", function () { ...@@ -561,7 +561,6 @@ KityMinder.registerModule( "LayoutDefault", function () {
next = []; next = [];
var layer_nolimit = expandall || ( expand_layer < 1 ) || false; var layer_nolimit = expandall || ( expand_layer < 1 ) || false;
var sub_nolimit = expandall || ( expandoptions.defaultSubShow < 1 ) || false; var sub_nolimit = expandall || ( expandoptions.defaultSubShow < 1 ) || false;
while ( _buffer.length !== 0 ) { while ( _buffer.length !== 0 ) {
cur_layer++; cur_layer++;
var layer_len = _buffer.length; var layer_len = _buffer.length;
......
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