Possible bug in browsedialogbase.xml?

Last post 07-24-2013, 4:47 PM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  07-23-2013, 11:24 PM 77760

    Possible bug in browsedialogbase.xml?

    I think there's a bug in richtexteditor/dialogs/browsedialogbase.xml, in the file-list context menu.

     

    Lines 384+:

     

    <panel jsml-base="rtemenuitem" htmlcode="@COPY" src="{folder}images/copy.png">
      <attach name="updateitem" arguments="jevent,item">
        self._currentitem=item;
        var s=option.dialogcontrol._selectedstorage;
        if(item.IsFolder)self.set_disabled(!s.AllowMoveFolder);
        else self.set_disabled(!s.AllowMoveFile);
      </attach>
      <attach name="click">

       if(self._disabled)return;

       option.dialogcontrol.processmenucommand("copy",self._currentitem);
      </attach>
    </panel>

    I think they should be AllowCopyFolder and AllowCopyFile.

  •  07-24-2013, 4:47 PM 77763 in reply to 77760

    Re: Possible bug in browsedialogbase.xml?

    Hi gll1559,

     

    You are right, we will update the code soon. Sorry for your inconvenience.

     

    Regards,

     

    Ken

     

View as RSS news feed in XML