mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Replace Ajax "get" calls by "posts" since long URLs may be truncated... and sometimes URLs get longer than expected when some characters are urlencoded... (Trac #195)
SVN:trunk[628]
This commit is contained in:
@@ -102,8 +102,8 @@ function WizardHelper(sClass)
|
||||
{
|
||||
//console.log('data sent:', this.ToJSON());
|
||||
//console.log('oWizard:', this);
|
||||
$.get('ajax.render.php?json_obj=' + this.ToJSON(),
|
||||
{ operation: 'wizard_helper' },
|
||||
$.post('ajax.render.php',
|
||||
{ operation: 'wizard_helper', json_obj: this.ToJSON() },
|
||||
function(html){
|
||||
$('body').append(html);
|
||||
//console.log('data received:', oWizardHelper);
|
||||
|
||||
Reference in New Issue
Block a user