Silence some warnings by providing info

This commit is contained in:
Nathan Gray 2013-06-17 21:22:32 +00:00
parent ce5d6faa0a
commit 94793b7808
4 changed files with 12 additions and 5 deletions

View File

@ -74,7 +74,7 @@ var et2_favorites = et2_dropdown_button.extend([et2_INextmatchHeader],
label: {"default": ""},
label_updates: { "default": false},
image: {"default": "etemplate/fav_filter"},
tooltip: {"default": "Favorite queries", "type": "string"}
statustext: {"default": "Favorite queries", "type": "string"}
},
// Some convenient variables, used in closures / event handlers

View File

@ -35,11 +35,15 @@ var et2_historylog = et2_valueWidget.extend([et2_IDataProvider],
{
attributes: {
"value": {
"type": "any"
"name": "Value",
"type": "any",
"description": "Object {app: ..., id: ..., status-widgets: {}} where status-widgets is a map of fields to widgets used to display those fields"
},
"status_id":{
"name": "status_id",
"type": "string",
"default": "status"
"default": "status",
"description": "The history widget is traditionally named 'status'. If you name another widget in the same template 'status', you can use this attribute to re-name the history widget. "
}
},

View File

@ -47,6 +47,7 @@ var et2_htmlarea = et2_inputWidget.extend(
'name': 'Expand Toolbar',
'default': true,
'type':'any',
'description': 'Have the toolbar expanded (visible)'
},
'base_href': {
'name': 'Image base path',
@ -56,8 +57,10 @@ var et2_htmlarea = et2_inputWidget.extend(
},
'config': {
// internal default configuration
'name': 'Internal configuration',
'type':'any',
'default': et2_no_init
'default': et2_no_init,
'description': 'Internal configuration - managed by preferences & framework, passed in here'
},
},

View File

@ -194,7 +194,7 @@ var et2_textbox_ro = et2_valueWidget.extend([et2_IDetachedDOM],
"ignore": true
},
"maxlength": {
"igore": true
"ignore": true
},
"onchange": {
"ignore": true