Add some missing attribute attributes

This commit is contained in:
Nathan Gray 2013-04-09 07:22:35 +00:00
parent af43412921
commit cd0356219c
4 changed files with 9 additions and 5 deletions

View File

@ -25,11 +25,13 @@ var et2_customfields_list = et2_valueWidget.extend([et2_IDetachedDOM, et2_IInput
attributes: { attributes: {
'customfields': { 'customfields': {
'name': 'Custom fields', 'name': 'Custom fields',
'description': 'Auto filled' 'description': 'Auto filled',
'type': 'any'
}, },
'fields': { 'fields': {
'name': 'Custom fields', 'name': 'Custom fields',
'description': 'Auto filled' 'description': 'Auto filled',
'type': 'any'
}, },
'value': { 'value': {
'name': 'Custom fields', 'name': 'Custom fields',

View File

@ -27,7 +27,8 @@ var et2_description = et2_baseWidget.extend([et2_IDetachedDOM], {
"name": "Value", "name": "Value",
"type": "string", "type": "string",
"description": "Displayed text", "description": "Displayed text",
"translate": "!no_lang" "translate": "!no_lang",
"default": ""
}, },
/** /**

View File

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

View File

@ -37,7 +37,8 @@ var et2_template = et2_DOMWidget.extend({
// TODO: Not implemented // TODO: Not implemented
"name": "Group", "name": "Group",
"description":"Not implemented", "description":"Not implemented",
"default": 0 //"default": 0
"default": et2_no_init
}, },
"version": { "version": {
"name": "Version", "name": "Version",