Commit 8ca3ed28 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_officejs] Add getCommandUrlForList in router

parent 58c11674
...@@ -28,6 +28,13 @@ ...@@ -28,6 +28,13 @@
}); });
}) })
.declareMethod('getCommandUrlForList', function (param_list) {
return this.getDeclaredGadget('erp5_router')
.push(function (router) {
return router.getCommandUrlForList(param_list);
});
})
.declareMethod('notify', function (param_list) { .declareMethod('notify', function (param_list) {
return this.getDeclaredGadget('erp5_router') return this.getDeclaredGadget('erp5_router')
.push(function (router) { .push(function (router) {
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>964.29991.263.63232</string> </value> <value> <string>967.24634.17714.15001</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -254,7 +254,7 @@ ...@@ -254,7 +254,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1514552163.02</float> <float>1526889176.44</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment