Commit b8ae301a authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_officejs: add missing router method

parent 296d41a7
...@@ -28,6 +28,13 @@ ...@@ -28,6 +28,13 @@
}); });
}) })
.declareMethod('notify', function (param_list) {
return this.getDeclaredGadget('erp5_router')
.push(function (router) {
return router.notify(param_list);
});
})
.declareMethod('start', function () { .declareMethod('start', function () {
var gadget = this, var gadget = this,
element_list = element_list =
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>961.331.20537.11810</string> </value> <value> <string>964.29991.263.63232</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>1501149203.02</float> <float>1514552163.02</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