Disable FA.error. Seems to crash the application
authorMaxime Bourget <bmx007@gmail.com>
Sat, 15 Jun 2013 08:40:03 +0000 (09:40 +0100)
committerMaxime Bourget <bmx007@gmail.com>
Sat, 15 Jun 2013 08:40:03 +0000 (09:40 +0100)
instead of displaying a nice error message.

haxe/FA.hx
hincludes/lib/FA.class.php

index a1425f5841489fe19a1e71baf6b77e46227689ed..f55c1c9823498528324747e24003af4632b18300 100644 (file)
@@ -22,6 +22,6 @@ class FA {
        }
 
        static public function error(message:String) {
-               return untyped __call__('display_error', message);
+               // return untyped __call__('display_notification', message);
        }
 }
index 3eb220d955ff232c3fb1f14a10a2ff40af6e9097..afe7323ab905d5d4fc3f1df4c77eba4d8c702236 100644 (file)
@@ -20,7 +20,6 @@ class FA {
                return pick_query();
        }
        static function error($message) {
-               return display_error($message);
        }
        function __toString() { return 'FA'; }
 }