Skip to content

Commit

Permalink
change script back
Browse files Browse the repository at this point in the history
Signed-off-by: Sakchai Siripanyawuth <sakchai@artellectual.com>
  • Loading branch information
Sakchai Siripanyawuth committed Nov 15, 2011
1 parent 7de9f51 commit 7098d23
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vendor/assets/javascripts/simple_datatables.js.coffee
Expand Up @@ -69,10 +69,10 @@ root.simpleDatatables = ( sSource, aoData, fnCallback ) ->

if sSearch
op =
if bRegex
"_contains"
else
"_sw"
if bRegex
"_contains"
else
"_sw"
data.push({name: "search["+searchcolumns.join("_or_")+op+"]", value: sSearch});

$.ajax( { "dataType": 'json', "type": "GET", "url": sSource, "data": data, "success": fnCallback } );
Expand Down

0 comments on commit 7098d23

Please sign in to comment.