Improves documentation of misleadingly named properties
authorMatthias Schmidt <gravatronics@live.com>
Sat, 19 Oct 2013 16:42:41 +0000 (18:42 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 19 Oct 2013 16:42:41 +0000 (18:42 +0200)
wcfsetup/install/files/js/WCF.js

index 20a3d8159f383ee86a68fa67450afa5cb831b4be..96ddc5e26029c1109b59d57880f804e2f78cd7a4 100755 (executable)
@@ -6649,13 +6649,13 @@ WCF.Upload = Class.extend({
        _name: '__files[]',
        
        /**
-        * button selector
+        * button object
         * @var jQuery
         */
        _buttonSelector: null,
        
        /**
-        * file list selector
+        * file list object
         * @var jQuery
         */
        _fileListSelector: null,
@@ -6711,8 +6711,8 @@ WCF.Upload = Class.extend({
        /**
         * Initializes a new upload handler.
         * 
-        * @param       string          buttonSelector
-        * @param       string          fileListSelector
+        * @param       jQuery          buttonSelector          button object, not button selector!
+        * @param       jQuery          fileListSelector        file list object, not file list selector!
         * @param       string          className
         * @param       object          options
         */