projects
/
gitlive
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
FixBug.bjs
[gitlive]
/
FixBug.js
diff --git
a/FixBug.js
b/FixBug.js
index
098f010
..
7c20fe1
100644
(file)
--- a/
FixBug.js
+++ b/
FixBug.js
@@
-244,8
+244,14
@@
FixBug=new XObject({
var value = ''+ret.model.get_value(ret.iter, 0).value.get_string();
print(value);
-
-
+ var rec = false;
+ this.get('/ticket-store').data.forEach( function(e) {
+ if (e.id == value) {
+ rec = e;
+ return false;
+ }
+ });
+ print(rec);
}
},