This repository was archived by the owner on Sep 10, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ function selectFolderCallbackSelect(node)
57
57
}
58
58
59
59
$ ( 'div.MainDialogContent #createFolderContent' ) . hide ( ) ;
60
- if ( node . attr ( 'element' ) == - 1 )
60
+ if ( node . attr ( 'element' ) == - 1 || node . attr ( 'element' ) == - 2 )
61
61
{
62
62
$ ( 'div.MainDialogContent #selectElements' ) . attr ( 'disabled' , 'disabled' ) ;
63
63
$ ( 'div.MainDialogContent #createFolderButton' ) . hide ( ) ;
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ echo '<script type="text/javascript" src="' . $this->coreWebroot . '/public/js/b
37
37
foreach ($ this ->communities as $ community )
38
38
{
39
39
$ folder = $ community ->getFolder ();
40
- echo "<tr id='node-- $ node' class='parent' privacy=' " .($ community ->getPrivacy () == 1 ? MIDAS_PRIVACY_PRIVATE : MIDAS_PRIVACY_PUBLIC )."' type='community' element=' { $ community -> getCommunityId ()} ' ajax=' {$ folder ->getFolderId ()}'> " ;
40
+ echo "<tr id='node-- $ node' class='parent' privacy=' " .($ community ->getPrivacy () == 1 ? MIDAS_PRIVACY_PRIVATE : MIDAS_PRIVACY_PUBLIC )."' type='community' element='-2 ' ajax=' {$ folder ->getFolderId ()}'> " ;
41
41
echo " <td class='treeBrowseElement'><span class='community'> {$ community ->getName ()}</span></td> " ;
42
42
echo "</tr> " ;
43
43
$ node ++;
You can’t perform that action at this time.
0 commit comments