From 63d1b59adb7e4a6bd242342cfd76bf6b14219638 Mon Sep 17 00:00:00 2001 From: pines Date: Tue, 13 Feb 2007 16:55:31 +0000 Subject: [PATCH] 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 --- Open-ILS/xul/staff_client/chrome/content/util/file.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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); -- 2.11.0