Javascript error when changing AllowCreateFolder to false

  •  04-30-2009, 5:09 AM

    Javascript error when changing AllowCreateFolder to false

    Hi,
     
    I have decided to not allow the creation of directories in the user upload area.
    To stop this I change the security setting from:-
    <security name="AllowCreateFolder">true</security>
    to
    <security name="AllowCreateFolder">false</security>
     
    If I now use the editor and click on "Insert Flash" I see the "Ceate a new directory" icon now greyed which is correct but if I now click on an FLV file to preview it nothing happens due to a javascript error on the page. 
     
    I see a javascript error which reports:-
    Expected ';'
    InsertFlash.php Line:223
    Code:0 Char:30
     
    I get a similar javascript error with "Insert Image", "Insert Media" etc.
     
    This only happens when changing "AllowCreateFolder" from true to false.
     
    Thanks
View Complete Thread