From: pines Date: Tue, 13 Feb 2007 16:55:31 +0000 (+0000) Subject: change this back the way it was until we make a build directive for it, and a way... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=63d1b59adb7e4a6bd242342cfd76bf6b14219638;p=Evergreen.git change this back the way it was until we make a build directive for it, and a way for staff client to communicate to remote xul where it is storing things git-svn-id: svn://svn.open-ils.org/ILS/trunk@6941 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 3cf07bbb64..6c03f962b7 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/file.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/file.js @@ -29,18 +29,19 @@ util.file.prototype = { if (!fname) { fname = this.name; } else { this.name = fname; } if (!fname) throw('Must specify a filename.'); + /* FIXME - need to make a build directive for this */ switch(path) { + case 'profile' : + this._file = this.dirService.get( "UChrm", Components.interfaces.nsIFile ); + //this._file = this.dirService.get( "ProfD", Components.interfaces.nsIFile ); + break; + default: case 'chrome' : 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);