File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 376376 var sharee = this . getShareeObject ( shareWithIndex ) ;
377377 $ . extend ( sharee , this . getShareProperties ( ) ) ;
378378 var $li = this . $ ( 'li[data-share-id=' + permissionChangeShareId + ']' ) ;
379- $li . find ( '.popovermenu' ) . replaceWith ( this . popoverMenuTemplate ( sharee ) ) ;
379+ $li . find ( '.sharingOptionsGroup . popovermenu' ) . replaceWith ( this . popoverMenuTemplate ( sharee ) ) ;
380380
381381 var checkBoxId = 'canEdit-' + this . cid + '-' + sharee . shareWith ;
382382 checkBoxId = '#' + checkBoxId . replace ( / ( : | \. | \[ | \] | , | = | @ ) / g, "\\$1" ) ;
403403 }
404404 }
405405 } ) ;
406- if ( this . _menuOpen != false ) {
406+ if ( this . _menuOpen !== false ) {
407407 // Open menu again if it was opened before
408408 var shareId = parseInt ( this . _menuOpen , 10 ) ;
409409 if ( ! _ . isNaN ( shareId ) ) {
410410 var liSelector = 'li[data-share-id=' + shareId + ']' ;
411- OC . showMenu ( null , this . $ ( liSelector + '.sharingOptionsGroup .popovermenu' ) ) ;
411+ OC . showMenu ( null , this . $ ( liSelector + ' .sharingOptionsGroup .popovermenu' ) ) ;
412412 }
413413 }
414414
You can’t perform that action at this time.
0 commit comments