diff --git a/www/extras/admin/admin.js b/www/extras/admin/admin.js index d16d1d08d..4a52ff0e4 100644 --- a/www/extras/admin/admin.js +++ b/www/extras/admin/admin.js @@ -581,11 +581,19 @@ WebGUI.Admin.prototype.getHelperHandler = function ( assetId, helperId, helper ) { if ( helper.url ) { return bind( this, function(){ + // a confirmation dialog + if ( helper.confirm && !confirm( helper.confirm ) ) { + return; + } this.gotoAsset( helper.url ) } ); } return bind( this, function(){ + // a confirmation dialog + if ( helper.confirm && !confirm( helper.confirm ) ) { + return; + } this.requestHelper( helperId, assetId ) } ); };