return something even on error for string bundle functions
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 28 Jun 2005 15:38:34 +0000 (15:38 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 28 Jun 2005 15:38:34 +0000 (15:38 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@946 dcc99617-32d9-48b4-a31d-7c20da2025e4

Evergreen/staff_client/chrome/content/evergreen/util/util.js

index 6a8d526..eeefa73 100644 (file)
@@ -14,6 +14,8 @@ function getString( key ) {
                                return string;
 
                } catch(E) {
+                       dump(E + '\n');
+                       return '';
                }
        }
 }
@@ -29,6 +31,8 @@ function getFormattedString( key, strArray ) {
                                return string;
 
                } catch(E) {
+                       dump(E + '\n');
+                       return '';
                }
        }
 }