From 04bc8e6b77c4596f95d8d49e87a417ad2d0f51eb Mon Sep 17 00:00:00 2001 From: Andrew O'Neil Date: Tue, 2 Oct 2007 23:08:38 +0000 Subject: [PATCH] mujma: BUGFIX: Added comments for better description of files usage. Trac ticket: http://support.silverstripe.com/gsoc/ticket/107. (merged from gsoc branch, r42515) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42986 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- javascript/CMSMain_upload.js | 4 +++- javascript/TinyMCEImageEnhancement.js | 1 + javascript/Upload.js | 7 +++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/javascript/CMSMain_upload.js b/javascript/CMSMain_upload.js index e9829bdd..05622e5a 100644 --- a/javascript/CMSMain_upload.js +++ b/javascript/CMSMain_upload.js @@ -1,5 +1,7 @@ /** - * If one of methods is not commented look for comment in Upload.js + * This class is used for upload in asset part. + * If one of methods is not commented look for comment in Upload.js + */ CMSMain_upload = Class.create(); CMSMain_upload.prototype = { diff --git a/javascript/TinyMCEImageEnhancement.js b/javascript/TinyMCEImageEnhancement.js index f7f8295d..12d4df1c 100644 --- a/javascript/TinyMCEImageEnhancement.js +++ b/javascript/TinyMCEImageEnhancement.js @@ -1,4 +1,5 @@ /** + * This class is used for upload in TinyMCE editor. * If one of methods is not commented look for comment in Upload.js. */ TinyMCEImageEnhancement = Class.create(); diff --git a/javascript/Upload.js b/javascript/Upload.js index 7d77772a..cccfdd51 100644 --- a/javascript/Upload.js +++ b/javascript/Upload.js @@ -1,3 +1,10 @@ +/* + This class is wrapper for SWFUpload class. + If you want use SWFUpload, please use this class becuase it will take care of configuration + error handling and other things. + +*/ + Upload = Class.create(); Upload.prototype = {