details: https://code.openbravo.com/erp/devel/pi/rev/d46cf5ff286e changeset: 19626:d46cf5ff286e user: David Baz Fayos <david.baz <at> openbravo.com> date: Mon Feb 11 12:14:16 2013 +0100 summary: [calendar] Improve message if action handler fails
diffstat: modules/org.openbravo.client.application/web/org.openbravo.client.application/js/calendar/ob-multicalendar.js | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diffs (18 lines): diff -r 184eb7fbb3d3 -r d46cf5ff286e modules/org.openbravo.client.application/web/org.openbravo.client.application/js/calendar/ob-multicalendar.js --- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/calendar/ob-multicalendar.js Mon Feb 11 10:49:58 2013 +0000 +++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/calendar/ob-multicalendar.js Mon Feb 11 12:14:16 2013 +0100 @@ -318,6 +318,14 @@ } this.addMembers([OB.Utilities.createLoadingLayout()]); callback = function (rpcResponse, data, rpcRequest) { + if (data.message) { + isc.warn(data.message.text, function () { + return true; + }, { + icon: '[SKINIMG]Dialog/error.png', + title: OB.I18N.getLabel('OBUIAPP_Error') + }); + } me.calendarData = me.parseCalendarData(data); me.drawComponents(); }; ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Openbravo-commits mailing list Openbravo-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbravo-commits