From: Maxime Bourget Date: Sat, 15 Jun 2013 08:40:03 +0000 (+0100) Subject: Disable FA.error. Seems to crash the application X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=cd0315329b63a84a61c4c9e4aee393ac014b481c;p=order_line_extra.git Disable FA.error. Seems to crash the application instead of displaying a nice error message. --- diff --git a/haxe/FA.hx b/haxe/FA.hx index a1425f5..f55c1c9 100644 --- a/haxe/FA.hx +++ b/haxe/FA.hx @@ -22,6 +22,6 @@ class FA { } static public function error(message:String) { - return untyped __call__('display_error', message); + // return untyped __call__('display_notification', message); } } diff --git a/hincludes/lib/FA.class.php b/hincludes/lib/FA.class.php index 3eb220d..afe7323 100644 --- a/hincludes/lib/FA.class.php +++ b/hincludes/lib/FA.class.php @@ -20,7 +20,6 @@ class FA { return pick_query(); } static function error($message) { - return display_error($message); } function __toString() { return 'FA'; } }