Commit 26c75d1f authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_web_renderjs_ui: form inside form is forbidden

parent c496ff02
...@@ -125,19 +125,15 @@ ...@@ -125,19 +125,15 @@
<div class="ui-field-contain">\n <div class="ui-field-contain">\n
<div class="bottom">\n <div class="bottom">\n
<div class="ui-input-text ui-body-{{theme}} ui-input-has-icon ui-corner-all ui-shadow-inset ui-input-has-clear">\n <div class="ui-input-text ui-body-{{theme}} ui-input-has-icon ui-corner-all ui-shadow-inset ui-input-has-clear">\n
<form class="save_form">\n <input type="text" data-enhanced="true" value="{{widget_value}}" name="search" {{widget_status_attribute}} >\n
<input type="text" data-enhanced="true" value="{{widget_value}}" name="search" {{widget_status_attribute}} >\n <div class="ui-btn ui-input-clear ui-input-btn ui-corner-all ui-icon-search ui-btn-icon-notext" data-i18n="[node]header-submit">\n
<div class="ui-btn ui-input-clear ui-input-btn ui-corner-all ui-icon-search ui-btn-icon-notext" data-i18n="[node]header-submit">\n - Submit<input data-enhanced="true" type="submit" data-i18n="[value]header-submit" value="Submit" {{widget_status_attribute}} />\n
- Submit<input data-enhanced="true" type="submit" data-i18n="[value]header-submit" value="Submit" {{widget_status_attribute}} />\n </div>\n
</div>\n
</form>\n
</div>\n </div>\n
<div class="ui-shadow-inset ui-btn ui-btn-inline ui-corner-all ui-btn-{{theme}} ui-btn-icon-notext ui-icon-filter ui-override-theme " >\n <div class="ui-shadow-inset ui-btn ui-btn-inline ui-corner-all ui-btn-{{theme}} ui-btn-icon-notext ui-icon-filter ui-override-theme " >\n
<form class="filter_form">\n <div class="ui-input-btn">\n
<div class="ui-input-btn">\n <input class="filter_button" data-role="button" data-enhanced="true" type="submit" data-i18n="[value]" value=" ">\n
<input data-role="button" data-enhanced="true" type="submit" data-i18n="[value]" value=" ">\n </div>\n
</div>\n
</form>\n
</div>\n </div>\n
</div>\n </div>\n
</div>\n </div>\n
...@@ -285,7 +281,7 @@ ...@@ -285,7 +281,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>947.32333.16329.53265</string> </value> <value> <string>948.36261.46161.37597</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -303,7 +299,7 @@ ...@@ -303,7 +299,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1448969299.26</float> <float>1453137329.15</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -185,10 +185,10 @@ ...@@ -185,10 +185,10 @@
var gadget = this,\n var gadget = this,\n
url,\n url,\n
options = {},\n options = {},\n
sort_form = gadget.props.element.querySelector(".filter_form");\n sort_button = gadget.props.element.querySelector(".filter_button");\n
return loopEventListener(\n return loopEventListener(\n
sort_form,\n sort_button,\n
"submit",\n "click",\n
false,\n false,\n
function () {\n function () {\n
return new RSVP.Queue()\n return new RSVP.Queue()\n
...@@ -341,7 +341,7 @@ ...@@ -341,7 +341,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>947.25574.60857.20718</string> </value> <value> <string>948.36257.33692.30037</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -359,7 +359,7 @@ ...@@ -359,7 +359,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1448889581.09</float> <float>1453137078.14</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -91,13 +91,13 @@ ...@@ -91,13 +91,13 @@
\n \n
<tr>\n <tr>\n
<td>waitForElementPresent</td>\n <td>waitForElementPresent</td>\n
<td>//form[@class=\'filter_form\']</td>\n <td>//input[@class=\'filter_button\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
<tr>\n <tr>\n
<td>click</td>\n <td>click</td>\n
<td>//form[@class=\'filter_form\']//input</td>\n <td>//input[@class=\'filter_button\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
...@@ -220,7 +220,7 @@ ...@@ -220,7 +220,7 @@
\n \n
<tr>\n <tr>\n
<td>click</td>\n <td>click</td>\n
<td>//form[@class=\'filter_form\']//input</td>\n <td>//input[@class=\'filter_button\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
...@@ -291,7 +291,7 @@ ...@@ -291,7 +291,7 @@
\n \n
<tr>\n <tr>\n
<td>click</td>\n <td>click</td>\n
<td>//form[@class=\'filter_form\']//input</td>\n <td>//input[@class=\'filter_button\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
......
...@@ -91,13 +91,13 @@ ...@@ -91,13 +91,13 @@
\n \n
<tr>\n <tr>\n
<td>waitForElementPresent</td>\n <td>waitForElementPresent</td>\n
<td>//form[@class=\'filter_form\']</td>\n <td>//input[@class=\'filter_button\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
<tr>\n <tr>\n
<td>click</td>\n <td>click</td>\n
<td>//form[@class=\'filter_form\']//input</td>\n <td>//input[@class=\'filter_button\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
...@@ -180,7 +180,7 @@ ...@@ -180,7 +180,7 @@
\n \n
<tr>\n <tr>\n
<td>click</td>\n <td>click</td>\n
<td>//form[@class=\'filter_form\']//input</td>\n <td>//input[@class=\'filter_button\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
...@@ -276,7 +276,7 @@ ...@@ -276,7 +276,7 @@
\n \n
<tr>\n <tr>\n
<td>click</td>\n <td>click</td>\n
<td>//form[@class=\'filter_form\']//input</td>\n <td>//input[@class=\'filter_button\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
......
...@@ -92,13 +92,13 @@ ...@@ -92,13 +92,13 @@
\n \n
<tr>\n <tr>\n
<td>waitForElementPresent</td>\n <td>waitForElementPresent</td>\n
<td>//form[@class=\'filter_form\']</td>\n <td>//input[@class=\'filter_button\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
<tr>\n <tr>\n
<td>click</td>\n <td>click</td>\n
<td>//form[@class=\'filter_form\']//input</td>\n <td>//input[@class=\'filter_button\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
...@@ -195,7 +195,7 @@ ...@@ -195,7 +195,7 @@
\n \n
<tr>\n <tr>\n
<td>click</td>\n <td>click</td>\n
<td>//form[@class=\'filter_form\']//input</td>\n <td>//input[@class=\'filter_button\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
...@@ -274,7 +274,7 @@ ...@@ -274,7 +274,7 @@
\n \n
<tr>\n <tr>\n
<td>click</td>\n <td>click</td>\n
<td>//form[@class=\'filter_form\']//input</td>\n <td>//input[@class=\'filter_button\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
......
...@@ -91,13 +91,13 @@ ...@@ -91,13 +91,13 @@
\n \n
<tr>\n <tr>\n
<td>waitForElementPresent</td>\n <td>waitForElementPresent</td>\n
<td>//form[@class=\'filter_form\']</td>\n <td>//input[@class=\'filter_button\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
<tr>\n <tr>\n
<td>click</td>\n <td>click</td>\n
<td>//form[@class=\'filter_form\']//input</td>\n <td>//input[@class=\'filter_button\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
\n \n
<tr>\n <tr>\n
<td>click</td>\n <td>click</td>\n
<td>//form[@class=\'filter_form\']//input</td>\n <td>//input[@class=\'filter_button\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
...@@ -239,14 +239,14 @@ ...@@ -239,14 +239,14 @@
\n \n
<tr>\n <tr>\n
<td>waitForElementPresent</td>\n <td>waitForElementPresent</td>\n
<td>//form[@class=\'filter_form\']//input</td>\n <td>//input[@class=\'filter_button\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
\n \n
<tr>\n <tr>\n
<td>click</td>\n <td>click</td>\n
<td>//form[@class=\'filter_form\']//input</td>\n <td>//input[@class=\'filter_button\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
......
...@@ -91,13 +91,13 @@ ...@@ -91,13 +91,13 @@
\n \n
<tr>\n <tr>\n
<td>waitForElementPresent</td>\n <td>waitForElementPresent</td>\n
<td>//form[@class=\'filter_form\']</td>\n <td>//input[@class=\'filter_button\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
<tr>\n <tr>\n
<td>click</td>\n <td>click</td>\n
<td>//form[@class=\'filter_form\']//input</td>\n <td>//input[@class=\'filter_button\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
...@@ -319,14 +319,14 @@ ...@@ -319,14 +319,14 @@
\n \n
<tr>\n <tr>\n
<td>waitForElementPresent</td>\n <td>waitForElementPresent</td>\n
<td>//form[@class=\'filter_form\']//input</td>\n <td>//input[@class=\'filter_button\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
\n \n
<tr>\n <tr>\n
<td>click</td>\n <td>click</td>\n
<td>//form[@class=\'filter_form\']//input</td>\n <td>//input[@class=\'filter_button\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
......
...@@ -91,13 +91,13 @@ ...@@ -91,13 +91,13 @@
\n \n
<tr>\n <tr>\n
<td>waitForElementPresent</td>\n <td>waitForElementPresent</td>\n
<td>//form[@class=\'filter_form\']</td>\n <td>//input[@class=\'filter_button\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
<tr>\n <tr>\n
<td>click</td>\n <td>click</td>\n
<td>//form[@class=\'filter_form\']//input</td>\n <td>//input[@class=\'filter_button\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
...@@ -220,14 +220,14 @@ ...@@ -220,14 +220,14 @@
\n \n
<tr>\n <tr>\n
<td>waitForElementPresent</td>\n <td>waitForElementPresent</td>\n
<td>//form[@class=\'filter_form\']//input</td>\n <td>//input[@class=\'filter_button\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
\n \n
<tr>\n <tr>\n
<td>click</td>\n <td>click</td>\n
<td>//form[@class=\'filter_form\']//input</td>\n <td>//input[@class=\'filter_button\']</td>\n
<td></td>\n <td></td>\n
</tr>\n </tr>\n
\n \n
......
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