Hello
I was about to release a new version and I got a JS syntax error :
Line/Column : 2411/13
LineSource : );
Details : syntax error
It was working properly on the local version. What did I miss ?
The error occurs on the penultimate line of this code.
I was about to release a new version and I got a JS syntax error :
Line/Column : 2411/13
LineSource : );
Details : syntax error
It was working properly on the local version. What did I miss ?
The error occurs on the penultimate line of this code.
Code: Select all
notif_killUnderRockfall:function( notif )
{
this.confirmationDialog
(
_('Would you like to kill this character ?'), dojo.hitch(this, function()
{
this.ajaxcall("/dungeontwister/dungeontwister/killUnderRockfall.html",
{
lock: true,
character_id: notif.args.character_id
},
this, function( result ) {}, function( is_error) {}
);
}
),
dojo.hitch(this, function()
{
this.ajaxcall("/dungeontwister/dungeontwister/cancelMove.html",
{
lock: true
},
this, function( result ) {}, function( is_error) {}
);
}
),
);
},