Commit 6401fd67 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Remove unused getGadgetPath calls

parent 0059e4c6
......@@ -202,8 +202,7 @@
select_list = [],\n
dataset,\n
counter,\n
i,\n
gadget_path;\n
i;\n
\n
if (field_json.query === undefined) {\n
original_tfoot.textContent = "Unsupported list method: \'" + field_json.list_method + "\'";\n
......@@ -222,16 +221,12 @@
select_list.push(field_json.column_list[i][0]);\n
}\n
\n
return this.getGadgetPath()\n
.push(function (result) {\n
gadget_path = result;\n
return gadget.jio_allDocs({\n
// XXX Not jIO compatible, but until a better api is found...\n
"list_method_template": field_json.list_method_template,\n
"query": new URI(field_json.query).query(true).query + query_string,\n
"limit": [begin_from, lines + 1],\n
"select_list": select_list\n
});\n
}).push(function (result) {\n
var promise_list = [result];\n
counter = Math.min(result.data.total_rows, lines);\n
......@@ -595,7 +590,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>romain</string> </value>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -609,7 +604,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>946.34578.58020.60808</string> </value>
<value> <string>946.44927.40202.16725</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -627,8 +622,8 @@
</tuple>
<state>
<tuple>
<float>1445266646.36</float>
<string>GMT</string>
<float>1445939419.71</float>
<string>UTC</string>
</tuple>
</state>
</object>
......
......@@ -121,12 +121,6 @@
});\n
})\n
\n
.ready(function (g) {\n
return g.getGadgetPath()\n
.push(function (path) {\n
g.props.path = path;\n
});\n
})\n
/////////////////////////////////////////////////////////////////\n
// Acquired methods\n
/////////////////////////////////////////////////////////////////\n
......@@ -334,7 +328,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>romain</string> </value>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -348,7 +342,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>946.34728.38206.10615</string> </value>
<value> <string>946.44927.40202.16725</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -366,8 +360,8 @@
</tuple>
<state>
<tuple>
<float>1445329431.72</float>
<string>GMT</string>
<float>1445939450.54</float>
<string>UTC</string>
</tuple>
</state>
</object>
......
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