flush cache on list/item switch when sort is accessed/timesaccessed (fixes #245)

This commit is contained in:
rolux 2012-02-17 10:06:43 +00:00
commit bc34966496
5 changed files with 16 additions and 4 deletions

View file

@ -130,11 +130,12 @@ appPanel
}
function loadOxJS(callback) {
var script = document.createElement('script');
var head = document.head || document.getElementsByTagName( "head" )[0] || document.documentElement,
script = document.createElement('script');
script.onload = callback;
script.src = '/static/oxjs/dev/Ox.js';
script.type = 'text/javascript';
document.head.appendChild(script);
head.appendChild(script);
}
function loadOxUI(callback) {
@ -150,6 +151,7 @@ appPanel
url: '/api/',
}).bindEvent({
load: function(data) {
Ox.print('browser', browserSupported);
data.browserSupported = browserSupported;
Ox.extend(pandora, {
requests: {},