Commit c5a30714 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] RelationField: drop JQM dependency

parent 1d6bad11
/*jslint indent: 2, maxerr: 3, nomen: true */ /*jslint indent: 2, maxerr: 3, nomen: true */
/*global window, rJS, RSVP, URI, loopEventListener, Handlebars, Event, document, /*global window, rJS, RSVP, URI, loopEventListener, Handlebars, Event, document,
SimpleQuery, ComplexQuery, Query, QueryFactory, promiseEventListener, $*/ SimpleQuery, ComplexQuery, Query, QueryFactory, promiseEventListener*/
(function (window, rJS, RSVP, URI, loopEventListener, promiseEventListener, document, (function (window, rJS, RSVP, URI, loopEventListener, promiseEventListener, document,
SimpleQuery, ComplexQuery, Query, QueryFactory, Handlebars, Event, $) { SimpleQuery, ComplexQuery, Query, QueryFactory, Handlebars, Event) {
"use strict"; "use strict";
...@@ -100,9 +100,7 @@ ...@@ -100,9 +100,7 @@
type: type, type: type,
value: my_value value: my_value
}); });
$(ul).toggle();
ul.innerHTML = html; ul.innerHTML = html;
$(ul).toggle();
}); });
} }
...@@ -413,4 +411,4 @@ ...@@ -413,4 +411,4 @@
}); });
}); });
}(window, rJS, RSVP, URI, loopEventListener, promiseEventListener, document, }(window, rJS, RSVP, URI, loopEventListener, promiseEventListener, document,
SimpleQuery, ComplexQuery, Query, QueryFactory, Handlebars, Event, $)); SimpleQuery, ComplexQuery, Query, QueryFactory, Handlebars, Event));
...@@ -230,7 +230,7 @@ ...@@ -230,7 +230,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>952.33012.3834.15974</string> </value> <value> <string>952.22772.44488.1757</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1468325066.65</float> <float>1467710697.76</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
/*jslint indent: 2, maxerr: 3, nomen: true */ /*jslint indent: 2, maxerr: 3, nomen: true */
/*global window, rJS, RSVP, URI, loopEventListener, Handlebars, /*global window, rJS, RSVP, URI, loopEventListener, Handlebars,
SimpleQuery, ComplexQuery, Query, QueryFactory, promiseEventListener, $*/ SimpleQuery, ComplexQuery, Query, QueryFactory, promiseEventListener*/
(function (window, rJS, RSVP, URI, loopEventListener, promiseEventListener, (function (window, rJS, RSVP, URI, loopEventListener, promiseEventListener,
SimpleQuery, ComplexQuery, Query, QueryFactory, Handlebars, $) { SimpleQuery, ComplexQuery, Query, QueryFactory, Handlebars) {
"use strict"; "use strict";
...@@ -237,9 +237,7 @@ ...@@ -237,9 +237,7 @@
type: type, type: type,
value: my_value value: my_value
}); });
$(ul).toggle();
ul.innerHTML = html; ul.innerHTML = html;
$(ul).toggle();
}); });
} }
...@@ -349,4 +347,4 @@ ...@@ -349,4 +347,4 @@
}); });
}(window, rJS, RSVP, URI, loopEventListener, promiseEventListener, }(window, rJS, RSVP, URI, loopEventListener, promiseEventListener,
SimpleQuery, ComplexQuery, Query, QueryFactory, Handlebars, $)); SimpleQuery, ComplexQuery, Query, QueryFactory, Handlebars));
...@@ -230,7 +230,7 @@ ...@@ -230,7 +230,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>952.33013.1794.1928</string> </value> <value> <string>952.22746.50500.24354</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1468325115.92</float> <float>1467710574.65</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