Commit ea050141 authored by Gabriel Monnerat's avatar Gabriel Monnerat

add code to pass SearchableText in request if it is not blank

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42923 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent edeefc12
......@@ -308,9 +308,14 @@ $(document).ready(function() { \n
"</tbody></table></div>");\n
tableList.push("<div class=\'event-listview\'>");\n
tableList.push("<table width=\'100%\' cellspacing=\'0\' cellpadding=\'2\'><tbody>");\n
text = $("input[name=\'searchable-text\']").val();\n
paramList = [{name: "request_type", value: "list"}];\n
if (text != "")\n
paramList.push({name: "SearchableText", value: text});\n
$.ajax({\n
url:"Base_updateCalendarEventList?request_type=list",\n
url:"Base_updateCalendarEventList",\n
dataType: "json",\n
data : paramList,\n
success: function(data){\n
var eventTableList = Array();\n
var eventList = data.events; \n
......
215
\ No newline at end of file
216
\ 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