Clistview Beforeajaxreplace Option

In CListView (CGridView maybe also) It would be useful to set a callback similar to afterAjaxUpdate, but called immediately BEFORE the replace.

Use cases: close popovers/tooltip immediately before replacing the dom objs.

E.g.


    

    $.fn.yiiListView.update = function(id, options) {

        ...

        success: function(data,status) {

            // callback here

            $.each(settings.ajaxUpdate, function(i,v) {

                ...

            });

            if(settings.afterAjaxUpdate != undefined)

                settings.afterAjaxUpdate(id, data);

            ...



There is afterAjaxUpdate for this… if the popup would be removed before the replace… then first the old one would be shown and just then replaced…