Currently, it is near impossible to implement a timed delay for the Views refresh action. The theme object should have a "timeout" property that can be set in the theme hook method to implement a delayed refresh. For example, the following code would pause the refresh for 5 seconds.
viewsFlagRefresh.theme.prototype.themeHook = function() {
this.timeout = 5000;
}
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | views_flag_refresh-904902-1.patch | 1.18 KB | cpliakas |
Comments
Comment #1
cpliakas commentedFlagging for the beta3 release.
Comment #2
cpliakas commentedThe attached patch adds the functionality.
Comment #3
cpliakas commentedAdded in commit #417708.