fixed indention and ide warning about missing docu

This commit is contained in:
Ralf Becker 2014-01-29 15:55:18 +00:00
parent 48679c3e6c
commit 11fd61fe8a
3 changed files with 36 additions and 28 deletions

View File

@ -87,6 +87,8 @@ var et2_inputWidget = et2_valueWidget.extend([et2_IInput,et2_ISubmitListener],
/**
* Load the validation errors from the server
*
* @param {object} _attrs
*/
transformAttributes: function(_attrs) {
this._super.apply(this, arguments);
@ -246,6 +248,8 @@ var et2_inputWidget = et2_valueWidget.extend([et2_IInput,et2_ISubmitListener],
/**
* Set tab index
*
* @param {number} index
*/
set_tabindex: function(index) {
jQuery(this.getInputNode()).attr("tabindex", index);

View File

@ -220,20 +220,22 @@ var et2_color_ro = et2_valueWidget.extend([et2_IDetachedDOM],
this.$node.css("background-color", _value);
},
/**
* Code for implementing et2_IDetachedDOM
*/
getDetachedAttributes: function(_attrs)
{
_attrs.push("value");
},
* Code for implementing et2_IDetachedDOM
*
* @param {array} _attrs array to add further attributes to
*/
getDetachedAttributes: function(_attrs)
{
_attrs.push("value");
},
getDetachedNodes: function()
{
return [this.node];
},
getDetachedNodes: function()
{
return [this.node];
},
setDetachedAttributes: function(_nodes, _values)
{
setDetachedAttributes: function(_nodes, _values)
{
this.span = jQuery(_nodes[0]);
if(typeof _values["value"] != 'undefined')
{

View File

@ -254,6 +254,8 @@ var et2_textbox_ro = et2_valueWidget.extend([et2_IDetachedDOM],
},
/**
* Code for implementing et2_IDetachedDOM
*
* @param {array} _attrs array to add further attributes to
*/
getDetachedAttributes: function(_attrs)
{