Registration almost functional
This commit is contained in:
11
load/defs.js
11
load/defs.js
@@ -98,6 +98,17 @@ function Frame() {
|
||||
}
|
||||
};
|
||||
|
||||
this.fieldValue=function(key) {
|
||||
for each (var k in this.frame_fields) {
|
||||
log(LOG_DEBUG,' - k:'+JSON.stringify(k));
|
||||
if (k.fname == key) {
|
||||
return k.fvalue;
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
Object.defineProperty(this,'page', {
|
||||
get: function() {
|
||||
if (this.frame == null || this.index == null) return null;
|
||||
|
Reference in New Issue
Block a user