diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-11-14 15:39:19 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-11-14 15:39:19 +0000 |
commit | 1c5685d68f1b73270fb814fe04cbb490eb90ba5f (patch) | |
tree | 3d3ada08a934b96fc31531f1327690d7edc6f766 /includes/js/dijit/form/SimpleTextarea.js | |
parent | 104d59099e048688c4dbac37d72137006e396558 (diff) | |
download | semanticscuttle-1c5685d68f1b73270fb814fe04cbb490eb90ba5f.tar.gz semanticscuttle-1c5685d68f1b73270fb814fe04cbb490eb90ba5f.tar.bz2 |
Minor fix: Remove DOJO library (60Mo) replaced by link to Google CDN (online DOJO library)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@159 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'includes/js/dijit/form/SimpleTextarea.js')
-rw-r--r-- | includes/js/dijit/form/SimpleTextarea.js | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/includes/js/dijit/form/SimpleTextarea.js b/includes/js/dijit/form/SimpleTextarea.js deleted file mode 100644 index 54db151..0000000 --- a/includes/js/dijit/form/SimpleTextarea.js +++ /dev/null @@ -1,50 +0,0 @@ -if(!dojo._hasResource["dijit.form.SimpleTextarea"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.form.SimpleTextarea"] = true; -dojo.provide("dijit.form.SimpleTextarea"); - -dojo.require("dijit.form._FormWidget"); - -dojo.declare("dijit.form.SimpleTextarea", - dijit.form._FormValueWidget, -{ - // summary: - // A simple textarea that degrades, and responds to - // minimal LayoutContainer usage, and works with dijit.form.Form. - // Doesn't automatically size according to input, like Textarea. - // - // example: - // | <textarea dojoType="dijit.form.SimpleTextarea" name="foo" value="bar" rows=30 cols=40/> - // - - baseClass: "dijitTextArea", - - attributeMap: dojo.mixin(dojo.clone(dijit.form._FormValueWidget.prototype.attributeMap), - {rows:"focusNode", cols: "focusNode"}), - - // rows: Number - // The number of rows of text. - rows: "", - - // rows: Number - // The number of characters per line. - cols: "", - - templateString: "<textarea name='${name}' dojoAttachPoint='focusNode,containerNode'>", - - postMixInProperties: function(){ - if(this.srcNodeRef){ - this.value = this.srcNodeRef.value; - } - }, - - setValue: function(/*String*/ val){ - this.domNode.value = val; - this.inherited(arguments); - }, - - getValue: function(){ - return this.domNode.value.replace(/\r/g,""); - } -}); - -} |