Commit 3416c357 authored by Romain Courteaud's avatar Romain Courteaud Committed by Sebastien Robin

Allow to save modified listfield

parent 6455b899
...@@ -147,6 +147,13 @@ ...@@ -147,6 +147,13 @@
});\n });\n
}\n }\n
select.innerHTML += tmp;\n select.innerHTML += tmp;\n
})\n
\n
.declareMethod(\'getContent\', function () {\n
var input = this.element.querySelector(\'select\'),\n
result = {};\n
result[input.getAttribute(\'name\')] = input.options[input.selectedIndex].value;\n
return result;\n
});\n });\n
\n \n
}(window, rJS, Handlebars)); }(window, rJS, Handlebars));
...@@ -272,7 +279,7 @@ ...@@ -272,7 +279,7 @@
</item> </item>
<item> <item>
<key> <string>actor</string> </key> <key> <string>actor</string> </key>
<value> <string>zope</string> </value> <value> <string>romain</string> </value>
</item> </item>
<item> <item>
<key> <string>comment</string> </key> <key> <string>comment</string> </key>
...@@ -286,7 +293,7 @@ ...@@ -286,7 +293,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>936.14639.62230.24012</string> </value> <value> <string>936.46470.28243.51404</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -304,7 +311,7 @@ ...@@ -304,7 +311,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1405933454.78</float> <float>1407343147.92</float>
<string>GMT</string> <string>GMT</string>
</tuple> </tuple>
</state> </state>
......
40 41
\ No newline at end of file \ No newline at end of file
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