quote url

master
inpos 2018-08-16 19:34:02 +03:00
parent d2d387be45
commit f73a950caa
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ def js_procedure(func_id, ajax_args=''):
return ''' return '''
Ext.Ajax.request( Ext.Ajax.request(
{ {
url: %s, url: '%s',
method: 'GET', method: 'GET',
params: { params: {
fn: %d%s fn: %d%s
@ -37,7 +37,7 @@ def js_function(func_id, ajax_args=''):
var ajax_result; var ajax_result;
Ext.Ajax.request( Ext.Ajax.request(
{ {
url: %s, url: '%s',
method: 'GET', method: 'GET',
params: { params: {
fn: %d%s fn: %d%s