diff options
author | Yorhel <git@yorhel.nl> | 2009-07-19 11:36:54 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-07-19 11:36:54 +0200 |
commit | 678a78d71534441d5471ed24aa8b471ba08c6664 (patch) | |
tree | ba79c25216a87b7f56d71f864ed641d8a91222e4 /static | |
parent | 4df0638b6f615489bd946c03753b3bbe0269e3b2 (diff) |
Converted and renamed screenshots.status (int) to processed (bool)
There were only two states, processed and unprocessed, so simply
using a boolean column with correct naming is more clarifying.
Diffstat (limited to 'static')
-rw-r--r-- | static/f/forms.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/f/forms.js b/static/f/forms.js index 4fb02f1e..4e59796d 100644 --- a/static/f/forms.js +++ b/static/f/forms.js @@ -484,7 +484,7 @@ function scrCheckStatus() { var tr; for(var s=0;s<ls.length;s++) { for(i=0;i<l.length-1;i++) - if(l[i].scrId == ls[s].getAttribute('id') && ls[s].getAttribute('status') > 0) + if(l[i].scrId == ls[s].getAttribute('id') && ls[s].getAttribute('processed') == "1") tr = l[i]; if(!tr) continue; |