gStorageType = gMediaType;
- $("#folder-type-all").bind("click", function() {
+ highlightStoragetype("ALL");
+
+ $("#folder-type-all").bind("vclick", function() {
showFolderList("ALL");
highlightStoragetype("ALL");
});
- $("#folder-type-internal").bind("click", function() {
+ $("#folder-type-internal").bind("vclick", function() {
showFolderList("INTERNAL");
highlightStoragetype("INTERNAL");
});
- $("#folder-type-external").bind("click", function() {
+ $("#folder-type-external").bind("vclick", function() {
showFolderList("EXTERNAL");
highlightStoragetype("EXTERNAL");
});
}
});
- $("#items-list").delegate("li", "click", function() {
+ $("#items-list").delegate("li", "vclick", function() {
var id = $(this).data("id");
if (id != null) {
gItemId = Number(id);
function onContentChange() {
tizen.systeminfo.addPropertyValueChangeListener('STORAGE', function() {
+ $('#main [data-role="content"]').scrollview('scrollTo', 0, 0);
getFolders(gStorageType);
});
}