mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-30 08:39:58 +09:00
#1086 CKEditor 스킨에 파일 업로드 추가
This commit is contained in:
parent
95154d6985
commit
8731b3cd8a
30 changed files with 5253 additions and 11 deletions
24
modules/file/tpl/js/fileupload.app.js
Normal file
24
modules/file/tpl/js/fileupload.app.js
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
(function($){
|
||||
"use strict";
|
||||
var XeUploader = xe.createApp('XeUploader', {
|
||||
init : function() {
|
||||
}
|
||||
});
|
||||
|
||||
// Shortcut function in jQuery
|
||||
$.fn.uploader = function(opts) {
|
||||
console.log();
|
||||
var u = new XeUploader(this.eq(0), opts);
|
||||
if(u) xe.registerApp(u);
|
||||
|
||||
return u;
|
||||
};
|
||||
|
||||
// Shortcut function in XE
|
||||
xe.createUploader = function(browseButton, opts) {
|
||||
var u = new XeUploader(browseButton, opts);
|
||||
if(u) xe.registerApp(u);
|
||||
|
||||
return u;
|
||||
};
|
||||
})(jQuery);
|
||||
Loading…
Add table
Add a link
Reference in a new issue