improve customer field access in RT queries, #16490
[freeside.git] / rt / share / html / NoAuth / js / class.js
1 /* by TKirby, released under GPL */
2
3  function _ClassSetup(Object) {
4   this.prototype        = Object;
5   return this;
6  }
7  
8  function Class(name) {
9   var _newclass_;
10   eval("window."+name+" = new Function('this."+name+".apply(this,arguments);');");
11   eval("window."+name+".define = _ClassSetup;");
12   eval("_newclass_ = window."+name+";");
13   return _newclass_;
14  }
15