Changeset 277 for pro-bachkim-filespace


Ignore:
Timestamp:
Oct 16, 2014 10:13:02 AM (11 years ago)
Author:
quyenla
Message:

lala

Location:
pro-bachkim-filespace/sourcecode
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pro-bachkim-filespace/sourcecode/api.violet.vn/www/apps/platform/modules/space/actions/actions.class.php

    r276 r277  
    332332   //  $userId = $this->getRequestParameter('userid');
    333333     $userId =33;
    334    //  $catId = $this->getRequestParameter('dir');
    335      $catId = 497;
     334     $catId = $this->getRequestParameter('dir');
    336335    if ($this->getRequest()->hasErrors()) return false;
    337336    if (!$this->getRequest()->hasFiles()) return true;
  • pro-bachkim-filespace/sourcecode/assets/js/manager.js

    r256 r277  
    361361                       
    362362                        var uploadStart = function () {
     363                           
    363364                                var promptOptions = {
    364365                                                  title: "Tải lên",
    365                                                    message: "<form id='upload' method='post' action='http://api.violet.vn/space/spaceupload' enctype='multipart/form-data'><div id='drop'>Kéo thả tệp vào đây <a> Chọn tệp </a><input type='file' name='upload_file' multiple /></div><ul></ul></form>",
     366                                                   message: "<form id='upload' method='post' action='http://api.violet.vn/space/spaceupload' enctype='multipart/form-data'><div id='drop'>Kéo thả tệp vào đây <a> Chọn tệp </a><input type='hidden' name='die' value='"+self.getTreeCurrentNode()+"'/><input type='file' name='upload_file' multiple /></div><ul></ul></form>",
    366367                                                  buttons: {
    367368                                                    confirm: {
Note: See TracChangeset for help on using the changeset viewer.