Commit e0d7a8d2 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_officejs: show correctly message

parent fb1470dc
...@@ -121,7 +121,10 @@ ...@@ -121,7 +121,10 @@
]); ]);
}) })
.push(function () { .push(function () {
return gadget.notifySubmitted('Preferences Saved'); return gadget.notifySubmitted({
message: 'Preferences Saved',
status: 'success'
});
}); });
}); });
......
...@@ -71,7 +71,9 @@ ...@@ -71,7 +71,9 @@
</item> </item>
<item> <item>
<key> <string>content_type</string> </key> <key> <string>content_type</string> </key>
<value> <string>text/javascript</string> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>default_reference</string> </key> <key> <string>default_reference</string> </key>
...@@ -242,7 +244,7 @@ ...@@ -242,7 +244,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>961.29122.59801.40686</string> </value> <value> <string>961.52328.26727.8140</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -260,7 +262,7 @@ ...@@ -260,7 +262,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1502876708.86</float> <float>1514905729.94</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