@@ -1116,7 +1116,7 @@ function MenuEditor(idSelector, options) {
11161116
11171117 $ ( document ) . on ( 'click' , '.btnRemove' , function ( e ) {
11181118 e . preventDefault ( ) ;
1119- if ( confirm ( settings . textConfirmDelete ) ) {
1119+ if ( confirm ( settings . textConfirmDelete ) ) {
11201120 var list = $ ( this ) . closest ( 'ul' ) ;
11211121 $ ( this ) . closest ( 'li' ) . remove ( ) ;
11221122 var isMainContainer = false ;
@@ -1318,7 +1318,7 @@ function MenuEditor(idSelector, options) {
13181318 return $form ;
13191319 } ;
13201320
1321- this . setUpdateButton = function ( $btn ) {
1321+ this . setUpdateButton = function ( $btn ) {
13221322 $updateButton = $btn ;
13231323 $updateButton . attr ( 'disabled' , true ) ;
13241324 itemEditing = null ;
@@ -1338,7 +1338,7 @@ function MenuEditor(idSelector, options) {
13381338 return ;
13391339 }
13401340 var oldIcon = $cEl . data ( 'icon' ) ;
1341- $form . find ( '.item-menu' ) . each ( function ( ) {
1341+ $form . find ( '.item-menu' ) . each ( function ( ) {
13421342 $cEl . data ( $ ( this ) . attr ( 'name' ) , $ ( this ) . val ( ) ) ;
13431343 } ) ;
13441344 $cEl . children ( ) . children ( 'i' ) . removeClass ( oldIcon ) . addClass ( $cEl . data ( 'icon' ) ) ;
@@ -1348,7 +1348,7 @@ function MenuEditor(idSelector, options) {
13481348
13491349 this . add = function ( ) {
13501350 var data = { } ;
1351- $form . find ( '.item-menu' ) . each ( function ( ) {
1351+ $form . find ( '.item-menu' ) . each ( function ( ) {
13521352 data [ $ ( this ) . attr ( 'name' ) ] = $ ( this ) . val ( ) ;
13531353 } ) ;
13541354 var btnGroup = TButtonGroup ( ) ;
@@ -1393,7 +1393,7 @@ function MenuEditor(idSelector, options) {
13931393 * Update the buttons on the list. Only the buttons 'Up', 'Down', 'In', 'Out'
13941394 * @param {jQuery } $mainList The unorder list
13951395 **/
1396- MenuEditor . updateButtons = function ( $mainList ) {
1396+ MenuEditor . updateButtons = function ( $mainList ) {
13971397 $mainList . find ( '.btnMove' ) . show ( ) ;
13981398 $mainList . updateButtons ( ) ;
1399- } ;
1399+ } ;
0 commit comments