update sync objects
This commit is contained in:
@@ -26,11 +26,7 @@
|
||||
// Chrome seems to have virtualization built-in and can handle large lists easily
|
||||
var isChrome = $.browser.chrome;
|
||||
|
||||
if (getWindowUrl().toString().toLowerCase().indexOf('localhost') != -1) {
|
||||
return isChrome ? 200 : 100;
|
||||
}
|
||||
|
||||
return isChrome ? 100 : 50;
|
||||
return isChrome ? 200 : 100;
|
||||
},
|
||||
|
||||
getDefaultItemsView: function (view, mobileView) {
|
||||
@@ -345,6 +341,10 @@
|
||||
|
||||
commands.push('refresh');
|
||||
|
||||
if (SyncManager.isAvailable(item)) {
|
||||
commands.push('sync');
|
||||
}
|
||||
|
||||
return commands;
|
||||
},
|
||||
|
||||
@@ -924,6 +924,10 @@
|
||||
itemCommands.push('delete');
|
||||
}
|
||||
|
||||
if (SyncManager.isAvailable(item)) {
|
||||
itemCommands.push('sync');
|
||||
}
|
||||
|
||||
return itemCommands;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user