This event fires when a user goes to another folder.
<script type="text/javascript"> function Uploader1_FolderChange(){ //...your code... } </script>
<aur:Uploader ID="Uploader1" runat="server"> <ClientEvents> <aur:ClientEvent EventName="FolderChange" HandlerName="Uploader1_FolderChange" /> </ClientEvents> </aur:Uploader>
<script type="text/javascript"> function Uploader1_FolderChange(){ //...your code... } </script>
<?php $Uploader = new Uploader("Uploader1"); //...other params... $Uploader->getClientEvents()->setFolderChange("Uploader1_FolderChange"); //...other params... $Uploader->render(); ?>
function Uploader1_FolderChange(){ //...your code... }
$au.uploader({ events: { //...other params... folderChange: [Uploader1_FolderChange], //...other params... } })
This event is raised in both cases:
This event makes sense in ThreePanes
layout only.