PHP Classes

File: assets/js/upload.js

Recommend this page to a friend!
  Classes of Tran Tuan   Pretty PHP S3 Files Manager   assets/js/upload.js   Download  
File: assets/js/upload.js
Role: Auxiliary data
Content type: text/plain
Description: Initial
Class: Pretty PHP S3 Files Manager
Web based interface to manage files in Amazon S3
Author: By
Last change:
Date: 8 years ago
Size: 727 bytes
 

Contents

Class file image Download
$(document).ready(function () { $(".add-folder-btn").click(function(){ var object = '#modal-add-folder'; var bucket = $("select[name=bucket]").val(); if (bucket == '') { alert('Please choose bucket first'); return false; } $('#modal-add-folder').modal('show'); $('#modal-add-folder').find('span.selected-folder').html('/'); $(object).find('.body').html("<img src='/assets/images/elements/loaders/5s.gif' /> &nbsp; <i>Please patience...</i>"); $.post("/index.php?route=home/listbucketfolders", {bucket:bucket, path:'/', 'add-folder':1},function(response){ $(object).find('.body').html(response); }); }); });