Version 5.0.0 beta 9
This commit is contained in:
1 parent
214f649f1d
commit
56979f8ee8
202 files changed
+4403
-1123
No files matched your search
@@ -733,6 +733,9 @@ Filter
|
||||
|
||||
if ( $this->canEdit( $member ) )
|
||||
{
|
||||
/* Remove the original edit element, this doesn't use the correct form */
|
||||
unset( $menu->elements['edit'] );
|
||||
|
||||
$editLink = new ContentMenuLink( url: $this->url()->setQueryString( array( 'do' => 'editAlbum' ) ), languageString: Member::loggedIn()->language()->addToStack( 'edit_album'), id: 'edit_album' );
|
||||
$editLink->opensDialog( 'edit_album' );
|
||||
$menu->add( $editLink )->moveToStart( $editLink );
|
||||
|
||||
Reference in new issue
Block a user