Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ecommerce-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
ecommerce-ui
Commits
46fcf83f
Commit
46fcf83f
authored
Nov 15, 2013
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Safari: change "default" to "default_value" for IOS
parent
a9129bb3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
28 deletions
+26
-28
data/application_fieldlist.json
data/application_fieldlist.json
+12
-12
data/category_fieldlist.json
data/category_fieldlist.json
+9
-9
js/erp5_loader.js
js/erp5_loader.js
+5
-7
No files found.
data/application_fieldlist.json
View file @
46fcf83f
...
...
@@ -8,7 +8,7 @@
"description"
:
"The URL an application will be fetched from."
,
"description_i18n"
:
"application.field_list.url.description"
,
"alternate_name"
:
"application_url"
,
"default"
:
null
,
"default
_value
"
:
null
,
"css_class"
:
"url"
,
"hidden"
:
null
,
"display_width"
:
null
,
...
...
@@ -48,7 +48,7 @@
"title_i18n"
:
"application.field_list.description.title"
,
"description"
:
"The description of the application."
,
"description_i18n"
:
"application.field_list.description.description"
,
"default"
:
null
,
"default
_value
"
:
null
,
"alternate_name"
:
"application_description"
,
"css_class"
:
null
,
"hidden"
:
null
,
...
...
@@ -99,7 +99,7 @@
"description"
:
"Date the application was submitted."
,
"description_i18n"
:
"application.field_list.time_stamp_submitted.description"
,
"alternate_name"
:
"application_submitted"
,
"default"
:
null
,
"default
_value
"
:
null
,
"css_class"
:
null
,
"hidden"
:
null
,
"default_to_know"
:
null
,
...
...
@@ -150,7 +150,7 @@
"description"
:
"Date the application was published."
,
"description_i18n"
:
"application.field_list.time_stamp_published.description"
,
"alternate_name"
:
"application_published"
,
"default"
:
null
,
"default
_value
"
:
null
,
"css_class"
:
null
,
"hidden"
:
null
,
"default_to_know"
:
null
,
...
...
@@ -201,7 +201,7 @@
"description"
:
"Please confirm our terms and conditions to continue."
,
"description_i18n"
:
"application.field_list.terms_accept.description"
,
"alternate_name"
:
"application_toc_accept"
,
"default"
:
null
,
"default
_value
"
:
null
,
"css_class"
:
null
,
"hidden"
:
null
,
"extra"
:
null
...
...
@@ -236,7 +236,7 @@
"description"
:
"The icon/image for this application."
,
"description_i18n"
:
"application.field_list.image_url.description"
,
"alternate_name"
:
"application_image_url"
,
"default"
:
null
,
"default
_value
"
:
null
,
"css_class"
:
null
,
"hidden"
:
null
,
"display_width"
:
null
,
...
...
@@ -281,7 +281,7 @@
"description"
:
"Type of Image (Icon/Image)."
,
"description_i18n"
:
"application.field_list.image_type.description"
,
"alternate_name"
:
"application_image_type"
,
"default"
:
null
,
"default
_value
"
:
null
,
"css_class"
:
null
,
"hidden"
:
null
,
"display_width"
:
null
,
...
...
@@ -322,7 +322,7 @@
"description"
:
"The name of the application."
,
"description_i18n"
:
"application.field_list.title.description"
,
"alternate_name"
:
"application_title"
,
"default"
:
null
,
"default
_value
"
:
null
,
"css_class"
:
null
,
"hidden"
:
null
,
"display_width"
:
null
,
...
...
@@ -363,7 +363,7 @@
"title_i18n"
:
"application.field_list.category.title"
,
"description"
:
"The category of the application."
,
"description_i18n"
:
"application.field_list.category.description"
,
"default"
:
null
,
"default
_value
"
:
null
,
"css_class"
:
null
,
"hidden"
:
false
,
"size"
:
1
,
...
...
@@ -404,7 +404,7 @@
"description"
:
"Please upload your image here."
,
"description_i18n"
:
"application.field_list.upload.description"
,
"alternate_name"
:
"application_image_upload"
,
"default"
:
null
,
"default
_value
"
:
null
,
"css_class"
:
null
,
"hidden"
:
null
,
"display_width"
:
null
,
...
...
@@ -441,7 +441,7 @@
"description"
:
"The pointer to the translation for this field"
,
"description_i18n"
:
"application.field_list.description_i18n.description"
,
"alternate_name"
:
"application_description_i18n"
,
"default"
:
null
,
"default
_value
"
:
null
,
"css_class"
:
null
,
"hidden"
:
null
,
"display_width"
:
null
,
...
...
@@ -482,7 +482,7 @@
"description"
:
"The pointer to the translation for this field"
,
"description_i18n"
:
"application.field_list.title_i18n.description"
,
"alternate_name"
:
"application_title_i18n"
,
"default"
:
null
,
"default
_value
"
:
null
,
"css_class"
:
null
,
"hidden"
:
null
,
"display_width"
:
null
,
...
...
data/category_fieldlist.json
View file @
46fcf83f
...
...
@@ -8,7 +8,7 @@
"description"
:
"The name of a category."
,
"description_i18n"
:
"category.field_list.title.description"
,
"alternate_name"
:
"category_title"
,
"default"
:
null
,
"default
_value
"
:
null
,
"css_class"
:
null
,
"hidden"
:
null
,
"display_width"
:
null
,
...
...
@@ -49,7 +49,7 @@
"description"
:
"The portal_type this category was generated for."
,
"description_i18n"
:
"category.field_list.portal_type.description"
,
"alternate_name"
:
"category_underlying_portal_type"
,
"default"
:
null
,
"default
_value
"
:
null
,
"css_class"
:
null
,
"hidden"
:
null
,
"display_width"
:
null
,
...
...
@@ -90,7 +90,7 @@
"description"
:
"The description of a category"
,
"description_i18n"
:
"category.field_list.description.description"
,
"alternate_name"
:
"category_description"
,
"default"
:
null
,
"default
_value
"
:
null
,
"css_class"
:
null
,
"hidden"
:
null
,
"display_width"
:
null
,
...
...
@@ -131,7 +131,7 @@
"description"
:
"The image associated with this category."
,
"description_i18n"
:
"category.field_list.image_url.description"
,
"alternate_name"
:
"category_image_url"
,
"default"
:
null
,
"default
_value
"
:
null
,
"css_class"
:
null
,
"hidden"
:
null
,
"display_width"
:
null
,
...
...
@@ -176,7 +176,7 @@
"description"
:
"The type of image (image, icon...?)."
,
"description_i18n"
:
"category.field_list.image_type.description"
,
"alternate_name"
:
"category_image_type"
,
"default"
:
null
,
"default
_value
"
:
null
,
"css_class"
:
null
,
"hidden"
:
null
,
"display_width"
:
null
,
...
...
@@ -217,7 +217,7 @@
"description"
:
"URL parameter to be used for this category."
,
"description_i18n"
:
"category.field_list.url_parameter.description"
,
"alternate_name"
:
"category_href"
,
"default"
:
null
,
"default
_value
"
:
null
,
"css_class"
:
null
,
"hidden"
:
null
,
"display_width"
:
null
,
...
...
@@ -258,7 +258,7 @@
"description"
:
"URL parameter to be used for this category."
,
"description_i18n"
:
"category.field_list.url_parameter.description"
,
"alternate_name"
:
"category_href"
,
"default"
:
null
,
"default
_value
"
:
null
,
"css_class"
:
null
,
"hidden"
:
null
,
"display_width"
:
null
,
...
...
@@ -299,7 +299,7 @@
"description"
:
"The pointer to the translation for this field"
,
"description_i18n"
:
"category.field_list.description_i18n.description"
,
"alternate_name"
:
"category_description_i18n"
,
"default"
:
null
,
"default
_value
"
:
null
,
"css_class"
:
null
,
"hidden"
:
null
,
"display_width"
:
null
,
...
...
@@ -340,7 +340,7 @@
"description"
:
"The pointer to the translation for this field"
,
"description_i18n"
:
"category.field_list.title_i18n.description"
,
"alternate_name"
:
"category_title_i18n"
,
"default"
:
null
,
"default
_value
"
:
null
,
"css_class"
:
null
,
"hidden"
:
null
,
"display_width"
:
null
,
...
...
js/erp5_loader.js
View file @
46fcf83f
...
...
@@ -522,8 +522,10 @@
"
rows
"
:
prevail
.
widget
.
width
||
spec
.
widget
.
width
||
undefined
,
"
cols
"
:
prevail
.
widget
.
height
||
spec
.
widget
.
height
||
undefined
,
"
disabled
"
:
(
prevail
.
properties
.
enabled
||
spec
.
properties
.
enabled
)
?
(
undefined
)
:
"
true
"
,
"
_value
"
:
passed_value
||
(
prevail
.
widget
.
foo
===
"
0
"
?
"
0
"
:
prevail
.
widget
.
foo
)
||
spec
.
widget
.
foo
||
undefined
,
(
undefined
)
:
true
,
"
value
"
:
passed_value
||
(
prevail
.
widget
.
default_value
===
"
0
"
?
"
0
"
:
prevail
.
widget
.
default_value
)
||
spec
.
widget
.
default_value
||
undefined
,
"
readonly
"
:
(
prevail
.
properties
.
editable
===
false
||
spec
.
properties
.
editable
===
false
)
?
(
true
)
:
undefined
,
"
options
"
:
(
prevail
.
widget
.
items
||
spec
.
widget
.
items
)
?
...
...
@@ -2756,15 +2758,11 @@
element
.
setAttribute
(
attribute
,
attribute
);
}
break
;
case
"
_value
"
:
if
(
setters
[
attribute
])
{
element
.
setAttribute
(
"
value
"
,
setters
[
attribute
]);
}
break
;
case
"
id
"
:
case
"
rows
"
:
case
"
cols
"
:
case
"
name
"
:
case
"
value
"
:
case
"
data-
"
:
case
"
role
"
:
case
"
type
"
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment