Skip to content

Commit

Permalink
- Module area class comment removed, fixed sortable method access
Browse files Browse the repository at this point in the history
  • Loading branch information
NGorco committed Aug 26, 2016
1 parent a947fe7 commit 6ff2d9a
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions js/builder/builder.modulearea.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,18 +146,13 @@ LiveComposer.Builder.Elements.CModuleArea = function(elem) {
jQuery( elem ).attr('data-jsinit', 'initialized');

/** Sort option setter */
/* why it's here? Sortable by pybaxa doesn't have .sortable option
jQuery(document).on('LC.sortableOff', function(){
if ( undefined !== self.sortable.sortable( "instance" ) ) {
self.sortable.sortable('option','disabled', true);
}

self.sortable.option('disabled', true);
});

jQuery(document).on('LC.sortableOn', function(){
if ( undefined !== self.sortable.sortable( "instance" ) ) {
self.sortable.sortable('option','disabled', false);
}

self.sortable.option('disabled', false);
});
*/
}

0 comments on commit 6ff2d9a

Please sign in to comment.