Commit 2f3c02e9 authored by Vincent Bechu's avatar Vincent Bechu Committed by Eteri

[Officejs] Update notification parameters in document views

parent c30d8328
......@@ -54,9 +54,7 @@
return gadget.jio_put(gadget.state.jio_key, doc);
})
.push(function () {
return RSVP.all([
gadget.notifySubmitted('Data Updated')
]);
return gadget.notifySubmitted({message: 'Data Updated', status: 'success'});
});
})
......
......@@ -222,7 +222,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
<value> <string>vincent</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>961.40803.35937.59409</string> </value>
<value> <string>962.36985.29761.10359</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>1503577301.58</float>
<float>1507195115.29</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -55,7 +55,7 @@
return gadget.jio_put(gadget.state.jio_key, doc);
})
.push(function () {
return gadget.notifySubmitted('Data Updated');
return gadget.notifySubmitted({message: 'Data Updated', status: 'success'});
});
})
......
......@@ -219,7 +219,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
<value> <string>vincent</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -233,7 +233,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>961.46357.14957.50005</string> </value>
<value> <string>962.36985.29761.10359</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -251,7 +251,7 @@
</tuple>
<state>
<tuple>
<float>1504618660.74</float>
<float>1507195142.2</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -50,9 +50,7 @@
return gadget.jio_put(gadget.state.jio_key, doc);
})
.push(function () {
return RSVP.all([
gadget.notifySubmitted('Data Updated')
]);
return gadget.notifySubmitted({message: 'Data Updated', status: 'success'});
});
})
......
......@@ -259,7 +259,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
<value> <string>vincent</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -273,7 +273,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>961.46357.14957.50005</string> </value>
<value> <string>962.36985.29761.10359</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -291,7 +291,7 @@
</tuple>
<state>
<tuple>
<float>1504618708.1</float>
<float>1507195196.76</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -50,9 +50,7 @@
return gadget.jio_put(gadget.state.jio_key, doc);
})
.push(function () {
return RSVP.all([
gadget.notifySubmitted('Data Updated')
]);
return gadget.notifySubmitted({message: 'Data Updated', status: 'success'});
});
})
......
......@@ -218,7 +218,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
<value> <string>vincent</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -232,7 +232,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>961.58157.44546.14455</string> </value>
<value> <string>962.36985.29761.10359</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -250,7 +250,7 @@
</tuple>
<state>
<tuple>
<float>1504618719.81</float>
<float>1507195208.76</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -58,7 +58,7 @@
return gadget.jio_put(gadget.state.jio_key, doc);
})
.push(function () {
return gadget.notifySubmitted('Data Updated');
return gadget.notifySubmitted({message: 'Data Updated', status: 'success'});
});
})
......
......@@ -221,7 +221,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
<value> <string>vincent</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -235,7 +235,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>961.16277.24517.44253</string> </value>
<value> <string>962.36985.29761.10359</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -253,7 +253,7 @@
</tuple>
<state>
<tuple>
<float>1503306120.68</float>
<float>1507195127.46</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -50,9 +50,7 @@
return gadget.jio_put(gadget.state.jio_key, doc);
})
.push(function () {
return RSVP.all([
gadget.notifySubmitted('Data Updated')
]);
return gadget.notifySubmitted({message: 'Data Updated', status: 'success'});
});
})
......
......@@ -213,7 +213,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
<value> <string>vincent</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -227,7 +227,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>961.12102.3930.4983</string> </value>
<value> <string>962.36985.29761.10359</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -245,7 +245,7 @@
</tuple>
<state>
<tuple>
<float>1502094265.97</float>
<float>1507195220.23</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -58,9 +58,7 @@
return gadget.jio_put(gadget.state.jio_key, doc);
})
.push(function () {
return RSVP.all([
gadget.notifySubmitted('Data Updated')
]);
return gadget.notifySubmitted({message: 'Data Updated', status: 'success'});
});
})
......
......@@ -219,7 +219,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
<value> <string>vincent</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -233,7 +233,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>961.60727.23534.13636</string> </value>
<value> <string>962.36985.29761.10359</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -251,7 +251,7 @@
</tuple>
<state>
<tuple>
<float>1504774392.99</float>
<float>1507195158.28</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -58,9 +58,7 @@
return gadget.jio_put(gadget.state.jio_key, doc);
})
.push(function () {
return RSVP.all([
gadget.notifySubmitted('Data Updated')
]);
return gadget.notifySubmitted({message: 'Data Updated', status: 'success'});
});
})
......
......@@ -219,7 +219,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
<value> <string>vincent</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -233,7 +233,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>961.60755.54052.8584</string> </value>
<value> <string>962.36985.29761.10359</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -251,7 +251,7 @@
</tuple>
<state>
<tuple>
<float>1504774427.5</float>
<float>1507195172.04</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -58,9 +58,7 @@
return gadget.jio_put(gadget.state.jio_key, doc);
})
.push(function () {
return RSVP.all([
gadget.notifySubmitted('Data Updated')
]);
return gadget.notifySubmitted({message: 'Data Updated', status: 'success'});
});
})
......
......@@ -219,7 +219,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
<value> <string>vincent</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -233,7 +233,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>961.60756.26015.65006</string> </value>
<value> <string>962.36985.29761.10359</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -251,7 +251,7 @@
</tuple>
<state>
<tuple>
<float>1504774375.76</float>
<float>1507195186.09</float>
<string>UTC</string>
</tuple>
</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