From: pines Date: Thu, 8 Feb 2007 03:13:10 +0000 (+0000) Subject: let's try writing to user chrome instead of system chrome X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=10ede1758021870539e7285975ea4f89aeaaaf3d;p=Evergreen.git let's try writing to user chrome instead of system chrome git-svn-id: svn://svn.open-ils.org/ILS/trunk@6917 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/chrome/content/util/file.js b/Open-ILS/xul/staff_client/chrome/content/util/file.js index c1107e2630..3cf07bbb64 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/file.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/file.js @@ -30,17 +30,17 @@ util.file.prototype = { if (!fname) throw('Must specify a filename.'); switch(path) { - case 'profile' : - this._file = this.dirService.get( "UChrom", Components.interfaces.nsIFile ); - //this._file = this.dirService.get( "ProfD", Components.interfaces.nsIFile ); - break; case 'chrome' : - default: this._file = this.dirService.get( "AChrom", Components.interfaces.nsIFile ); this._file.append(myPackageDir); this._file.append("content"); this._file.append("conf"); break; + default: + case 'profile' : + this._file = this.dirService.get( "UChrm", Components.interfaces.nsIFile ); + //this._file = this.dirService.get( "ProfD", Components.interfaces.nsIFile ); + break; } this._file.append(fname);