src/cm/media/js/client/c_sync.js
changeset 490 57c1ba71f642
parent 466 f00e34a4476b
child 491 50eeeb10e960
equal deleted inserted replaced
489:1becb3b8eefd 490:57c1ba71f642
   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