Commit e5d47d29 authored by Marian Durkovic's avatar Marian Durkovic

Don't escape single quotes since it's not needed anymore

parent f88bf2c1
...@@ -153,7 +153,7 @@ function vlm_schedule_type_change( name ) ...@@ -153,7 +153,7 @@ function vlm_schedule_type_change( name )
function sanitize_input( str ) function sanitize_input( str )
{ {
return str.replace( /\'/g, '\\\'' ).replace( /\"/g, '\\\"' ).replace( /^/, '"' ).replace( /$/, '"' ).replace( /\ option\ /g, '" option "' ); return str.replace( /\"/g, '\\\"' ).replace( /^/, '"' ).replace( /$/, '"' ).replace( /\ option\ /g, '" option "' );
} }
function update_vlm_add_broadcast() function update_vlm_add_broadcast()
......
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