Changeset 682
- Timestamp:
- Dec 29, 2014 2:13:57 PM (11 years ago)
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-bachkim-filespace/sourcecode/assets/js/manager.js
r674 r682 425 425 className: "btn btn-primary", 426 426 callback: function () { 427 if (o.oGrid) 428 o.oGrid.reloadGrid(); 427 alert ("123"); 429 428 } 430 429 }, -
pro-violet-viettel/sourcecode/api.violet.vn/www/apps/platform/modules/space/actions/actions.class.php
r289 r682 158 158 159 159 public function executeDir() { 160 echo "123";die(); 160 161 $this->catId = $this->getRequestParameter('id', -1); 161 162 $userId = $this->getRequestParameter('userid'); -
pro-violet-viettel/sourcecode/application/config/config.php
r662 r682 409 409 $config['6'] = 70000; 410 410 $config['12'] = 130000; 411 $config['api_url'] = 'http://api.violet.vn/'; 411 412 412 413 /* End of file config.php */ -
pro-violet-viettel/sourcecode/application/config/database.php
r532 r682 46 46 */ 47 47 48 $active_group = 'default'; 48 $active_group = 'default'; 49 49 $active_record = TRUE; 50 50 51 51 $db['default']['hostname'] = 'mysql:host=127.0.0.1'; 52 $db['default']['username'] = ' sbg';//sbg53 $db['default']['password'] = ' sbg~~!!@@123';//sbg~~!!@@12354 $db['default']['database'] = ' sbg';52 $db['default']['username'] = 'root';//sbg 53 $db['default']['password'] = 'Quyenhue@123';//sbg~~!!@@123 54 $db['default']['database'] = 'violet-viettel'; 55 55 $db['default']['dbdriver'] = 'pdo'; 56 56 $db['default']['dbprefix'] = ''; … … 82 82 $db['default']['stricton'] = FALSE;*/ 83 83 84 84 85 /* End of file database.php */ 85 86 /* Location: ./application/config/database.php */ -
pro-violet-viettel/sourcecode/application/modules/ajax/controllers/privatecontent.php
r289 r682 40 40 public function getContent () { 41 41 $xmlData = $this->vservices->getPrivateTree(); 42 echo $xmlData;die(); 42 43 $this->xml->parse($xmlData); 44 43 45 $aryDirs = array(); 44 46 $aryFiles = array(); -
pro-violet-viettel/sourcecode/assets/js/filemanager/filemanager.js
r289 r682 17 17 var dirTreeHeight = scrHeght - $('#title-bar').height() - $('#tools-bar').height() - $('#status-bar').height() - 2; 18 18 19 $('# directory-view-container').height(dirTreeHeight);19 $('#uploaddirectory-view-container').height(dirTreeHeight); 20 20 $('#directory-content-view-container').height(dirTreeHeight); 21 21 $('#directory-content-view-container').width('calc(100% - ' + ($('#directory-view-container').width() + 8) + 'px)'); -
pro-violet-viettel/sourcecode/assets/js/manager.js
r289 r682 424 424 label: "Tải lên", 425 425 className: "btn btn-primary", 426 callback: function () { 427 426 callback: function (result) { 427 428 if (result) { 429 var delobj = JSON.stringify(item); 430 var postdata = {delobj: delobj}; 431 var script = 'delete'; 432 sendCommand({ 433 postdata: postdata, 434 script: script, 435 callbackSuccess: function (parseData) { 436 if ($(parseData.DIRECTORIES).length > 0) { 437 $(parseData.DIRECTORIES).each(function (index) { 438 o.oTree.deletion(this); 439 o.oGrid.deletion(this, 'directory'); 440 }); 441 } 442 443 if ($(parseData.FILES).length > 0) { 444 $(parseData.FILES).each(function (index) { 445 var file = o.data.FILES[searchItemByID(this, 'file')]; 446 o.oGrid.deletion(this, file.minetype); 447 }); 448 } 449 }, 450 callbackDone: function (obj) { 451 if ($(parseData.DIRECTORIES).length > 0) { 452 $(parseData.DIRECTORIES).each(function (index) { 453 delete o.data.DIRECTORIES[searchItemByID(this, 'directory')]; 454 }); 455 } 456 457 if ($(parseData.FILES).length > 0) { 458 $(parseData.FILES).each(function (index) { 459 delete o.data.FILES[searchItemByID(this, 'file')]; 460 }); 461 } 462 463 o.oTree.setData(o.data.DIRECTORIES); 464 o.oGrid.setData(o.data); 465 self.setTreeCurrentNode(parentID); 466 o.oGrid.reloadGrid(); 467 }, 468 callbackFail: function () { 469 } 470 }); 471 } 428 472 } 429 473 }, … … 444 488 }); 445 489 $('#upload').fileupload({ 446 490 dropZone: $('#drop'), 447 491 add: function (e, data) { 448 492 … … 761 805 else { 762 806 //execute or preview file 807 alert(JSON.stringify(node, null, 4)); 763 808 } 764 809 };
Note: See TracChangeset
for help on using the changeset viewer.