equal
deleted
inserted
replaced
158 if ("comment" in ret) { // won't be when add with a priori moderation |
158 if ("comment" in ret) { // won't be when add with a priori moderation |
159 var comment = ret['comment'] ; |
159 var comment = ret['comment'] ; |
160 |
160 |
161 gDb.upd(comment) ; |
161 gDb.upd(comment) ; |
162 |
162 |
163 var shouldReset = gLayout.isInFrame() && !parent.f_isFrameFilterFieldsInit() ; |
163 var shouldReset = gLayout.isInFrame() && parent.f_isFrameFilterFieldsInit() ; |
164 if (shouldReset) |
164 if (shouldReset) |
165 parent.resetFilter() ; |
165 parent.resetFilter() ; |
166 else { // ASSUMING filter is in init state ! (because when not // TODO $$$$$$$$$$$ this isn't true anymore .... when passing filter arguments in url !! |
166 else { // ASSUMING filter is in init state ! (because when not // TODO $$$$$$$$$$$ this isn't true anymore .... when passing filter arguments in url !! |
167 // in frame for now data can't be filtered) |
167 // in frame for now data can't be filtered) |
168 if (comment.reply_to_id == null) { // not a reply |
168 if (comment.reply_to_id == null) { // not a reply |