give a more helpful error when processing helpers
This commit is contained in:
parent
04334685aa
commit
05a551d960
1 changed files with 4 additions and 1 deletions
|
|
@ -468,8 +468,11 @@ WebGUI.Admin.prototype.processHelper
|
|||
else if ( resp.message ) {
|
||||
this.showInfoMessage( resp.message );
|
||||
}
|
||||
else if ( resp.error ) {
|
||||
this.showInfoMessage( resp.error );
|
||||
}
|
||||
else {
|
||||
alert( "Unknown helper response: " + resp );
|
||||
alert( "Unknown helper response: " + YAHOO.lang.JSON.stringify(resp) );
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue