Commit e23764f7 authored by Marian Durkovic's avatar Marian Durkovic

Backport [18257] [18262]

parent f5f0935d
...@@ -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( /\"/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