Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5
Commits
ef31cd51
Commit
ef31cd51
authored
Nov 05, 2015
by
Vivek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_gadget_interface_validator: used simpler router logic.
parent
4d602a6a
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
494 deletions
+45
-494
bt5/erp5_gadget_interface_validator/PathTemplateItem/web_page_module/gadget_interface_validator_page_form_js.xml
...b_page_module/gadget_interface_validator_page_form_js.xml
+5
-9
bt5/erp5_gadget_interface_validator/PathTemplateItem/web_page_module/gadget_interface_validator_page_report_js.xml
...page_module/gadget_interface_validator_page_report_js.xml
+3
-4
bt5/erp5_gadget_interface_validator/PathTemplateItem/web_page_module/gadget_interface_validator_router_js.xml
.../web_page_module/gadget_interface_validator_router_js.xml
+37
-481
No files found.
bt5/erp5_gadget_interface_validator/PathTemplateItem/web_page_module/gadget_interface_validator_page_form_js.xml
View file @
ef31cd51
...
@@ -205,16 +205,12 @@
...
@@ -205,16 +205,12 @@
if(gadget_list.length > 0) {\n
if(gadget_list.length > 0) {\n
var page_type = fetchPageType(gadget_list[0]);\n
var page_type = fetchPageType(gadget_list[0]);\n
return gadget.redirect({\n
return gadget.redirect({\n
command: \'change\',\n
page: page_type,\n
options: {\n
appcache_url: appcache_url\n
page: page_type,\n
appcache_url: appcache_url\n
}\n
});\n
});\n
} else {\n
} else {\n
return gadget.redirect({\n
return gadget.redirect({\n
command: \'change\',\n
found: false\n
options: {found: false}\n
});\n
});\n
}\n
}\n
});\n
});\n
...
@@ -365,7 +361,7 @@
...
@@ -365,7 +361,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
946.
46361.42674.38161
</string>
</value>
<value>
<string>
946.
54877.22908.40635
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -383,7 +379,7 @@
...
@@ -383,7 +379,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1446
476000.92
</float>
<float>
1446
717901.46
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_gadget_interface_validator/PathTemplateItem/web_page_module/gadget_interface_validator_page_report_js.xml
View file @
ef31cd51
...
@@ -299,8 +299,7 @@
...
@@ -299,8 +299,7 @@
return validateAppGadgetList(gadget, gadget_list);\n
return validateAppGadgetList(gadget, gadget_list);\n
}, function(error) {\n
}, function(error) {\n
return gadget.redirect({\n
return gadget.redirect({\n
command: \'change\',\n
found: false\n
options: {found: false, page: \'form\'}\n
});\n
});\n
});\n
});\n
})\n
})\n
...
@@ -473,7 +472,7 @@
...
@@ -473,7 +472,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
946.
49108.59205.8413
</string>
</value>
<value>
<string>
946.
54878.32293.23654
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -491,7 +490,7 @@
...
@@ -491,7 +490,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1446
476069.46
</float>
<float>
1446
717974.43
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_gadget_interface_validator/PathTemplateItem/web_page_module/gadget_interface_validator_router_js.xml
View file @
ef31cd51
This diff is collapsed.
Click to expand it.
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