partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit 36c3fd10b4a9abfb652d1402ae584b83c7524327
parent 9eaadab75ea50c8b9924e2cce2c7705bb062a56d
Author: Felicitus <felicitus@felicitus.org>
Date:   Tue, 10 Jul 2012 03:49:52 +0200

Ignore requestData if none was given
Diffstat:
Msrc/frontend/js/Dialogs/ExceptionWindow.js | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/frontend/js/Dialogs/ExceptionWindow.js b/src/frontend/js/Dialogs/ExceptionWindow.js @@ -138,10 +138,14 @@ Ext.define('PartKeepr.ExceptionWindow', { * @see showException * * @param exception The exception data - * @param requestData The request data + * @param requestData The request data. May be empty. */ _showException: function (exception, requestData) { var separator = "=================================="; + + if (!requestData) { + requestData = {}; + } this.setIcon(Ext.MessageBox.ERROR);