Skip to content

Commit

Permalink
修改配置项
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu committed Mar 18, 2014
1 parent ebf8ae8 commit 4aca3e9
Show file tree
Hide file tree
Showing 13 changed files with 19,145 additions and 6 deletions.
2 changes: 1 addition & 1 deletion _src/core/finder.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ var Finder = UF.Finder = UF.createClass('Finder', {
return lang;
},
getRealPath: function (path) {
return this.serverOption.realRootUrl + path;
return (this.serverOption.realRootUrl + path).replace('//', '/');
}
});
6 changes: 3 additions & 3 deletions _src/modules/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ UF.registerModule("uploadmodule", function () {

},
"defaultOptions": {
// 'uploaderFileName': 'file',
// 'uploaderSwfUrl': uf.getOption('URL') + '/lib/webuploader/dist/Uploader.swf',
// 'uploaderJsUrl': uf.getOption('URL') + '/lib/webuploader/dist/webuploader.js'
'uploaderFileName': 'file',
'uploaderSwfUrl': uf.getOption('URL') + '/lib/webuploader/Uploader.swf',
'uploaderJsUrl': uf.getOption('URL') + '/lib/webuploader/webuploader.js'
},
"commands": {
"upload": {
Expand Down
Binary file added lib/webuploader/Uploader.swf
Binary file not shown.
30 changes: 30 additions & 0 deletions lib/webuploader/webuploader.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
.webuploader-pick {
position: relative;
display: inline-block;
cursor: pointer;
background: #00b7ee;
padding: 10px 15px;
color: #fff;
text-align: center;
border-radius: 3px;
overflow: hidden;
}
.webuploader-pick-hover {
background: #00a2d4;
}

.webuploader-pick-disable {
opacity: 0.6;
pointer-events:none;
}

.webuploader-dnd {
width: 400px;
height: 400px;
border: 3px solid #ddd;
}

.webuploader-dnd-over {
border-style: dashed;
}

Loading

0 comments on commit 4aca3e9

Please sign in to comment.