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
eba496ad
Commit
eba496ad
authored
Apr 17, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
app: setup search for updates (still breaks)
parent
fe7b7096
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
js/erp5_loader.js
js/erp5_loader.js
+12
-3
No files found.
js/erp5_loader.js
View file @
eba496ad
...
...
@@ -4636,7 +4636,16 @@
// update gadget
app
.
content
.
set
(
{},
{
"
portal_type_source
"
:
config
.
state
.
type
,
"
portal_type_title
"
:
config
.
state
.
title
,
"
property_dict
"
:
util
.
mergeObject
({
"
dynamic
"
:
true
,
"
map_children
"
:
config
.
state
.
dyno_dict
.
map_children
},
config
.
state
.
dyno_dict
),
"
scheme
"
:
config
.
state
.
scheme
},
{
"
reference
"
:
config
.
id
,
"
href
"
:
config
.
state
.
href
,
...
...
@@ -4886,7 +4895,7 @@
"
portal_type_title
"
:
config
.
state
.
title
,
"
property_dict
"
:
util
.
mergeObject
({
"
dynamic
"
:
true
,
"
map_children
"
:
"
listItem
"
"
map_children
"
:
config
.
state
.
dyno_dict
.
map_children
},
config
.
state
.
dyno_dict
),
"
scheme
"
:
config
.
state
.
scheme
...
...
@@ -6238,7 +6247,7 @@
}
// no items, need no show! (default to empty {} if none provided
if
(
pointer_results
.
data
.
total_rows
===
0
)
{
if
(
quirk_dict
.
property_dict
.
allow_new
)
{
if
(
quirk_dict
.
allow_new
)
{
pointer_results
=
{
"
data
"
:
{
"
total_rows
"
:
1
,
"
rows
"
:
[{
"
doc
"
:
{}}]}};
}
else
{
quirk_dict
.
no_show
=
quirk_dict
.
no_items
||
{};
...
...
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