add playlist drag and drop help
This commit is contained in:
parent
4057bdef32
commit
6084652e0b
3 changed files with 28 additions and 2 deletions
|
@ -171,9 +171,31 @@
|
|||
|
||||
}
|
||||
|
||||
function showDragAndDropHelp() {
|
||||
|
||||
if ($.browser.mobile) {
|
||||
// Not implemented for mobile yet
|
||||
return;
|
||||
}
|
||||
|
||||
var expectedValue = "7";
|
||||
if (appStorage.getItem("playlistitemdragdrophelp") == expectedValue) {
|
||||
return;
|
||||
}
|
||||
|
||||
appStorage.setItem("playlistitemdragdrophelp", expectedValue);
|
||||
|
||||
Dashboard.alert({
|
||||
message: Globalize.translate('TryDragAndDropMessage'),
|
||||
title: Globalize.translate('HeaderTryDragAndDrop')
|
||||
});
|
||||
}
|
||||
|
||||
window.PlaylistViewer = {
|
||||
render: function (page, item) {
|
||||
|
||||
reloadItems(page, item);
|
||||
showDragAndDropHelp();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue