1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

fix metadata manager

This commit is contained in:
Luke Pulverenti 2016-02-24 12:43:06 -05:00
parent a434bf443d
commit 669a2e46d4
3 changed files with 15 additions and 19 deletions

View file

@ -2495,7 +2495,7 @@
t = this; t = this;
if(d.length) { if(d.length) {
if(animation && d.children(".jstree-children").length) { if(animation && d.children(".jstree-children").length) {
d.children(".jstree-children").stop(true, true); //d.children(".jstree-children").stop(true, true);
} }
if(obj.children.length && !this._firstChild(d.children('.jstree-children')[0])) { if(obj.children.length && !this._firstChild(d.children('.jstree-children')[0])) {
this.draw_children(obj); this.draw_children(obj);
@ -2511,11 +2511,8 @@
d d
.children(".jstree-children").css("display","none").end() .children(".jstree-children").css("display","none").end()
.removeClass("jstree-closed").addClass("jstree-open").attr("aria-expanded", true) .removeClass("jstree-closed").addClass("jstree-open").attr("aria-expanded", true)
.children(".jstree-children").stop(true, true) .children(".jstree-children").show();
.slideDown(animation, function () {
this.style.display = "";
t.trigger("after_open", { "node": obj }); t.trigger("after_open", { "node": obj });
});
} }
} }
obj.state.opened = true; obj.state.opened = true;
@ -2603,11 +2600,9 @@
d d
.children(".jstree-children").attr("style","display:block !important").end() .children(".jstree-children").attr("style","display:block !important").end()
.removeClass("jstree-open").addClass("jstree-closed").attr("aria-expanded", false) .removeClass("jstree-open").addClass("jstree-closed").attr("aria-expanded", false)
.children(".jstree-children").stop(true, true).slideUp(animation, function () { .children(".jstree-children").hide();
this.style.display = "";
d.children('.jstree-children').remove(); d.children('.jstree-children').remove();
t.trigger("after_close", { "node": obj }); t.trigger("after_close", { "node": obj });
});
} }
} }
obj.state.opened = false; obj.state.opened = false;

View file

@ -195,6 +195,7 @@
.nowPlayingBarPositionSlider { .nowPlayingBarPositionSlider {
position: relative; position: relative;
top: -15px; top: -15px;
width: 100%;
} }
.nowPlayingBarPositionSlider #sliderContainer { .nowPlayingBarPositionSlider #sliderContainer {

View file

@ -1890,7 +1890,7 @@ var AppInfo = {};
define("paper-collapse-item", ["html!" + bowerPath + "/paper-collapse-item/paper-collapse-item.html"]); define("paper-collapse-item", ["html!" + bowerPath + "/paper-collapse-item/paper-collapse-item.html"]);
define("jstree", [bowerPath + "/jstree/dist/jstree.min", "css!thirdparty/jstree/themes/default/style.min.css"]); define("jstree", [bowerPath + "/jstree/dist/jstree", "css!thirdparty/jstree/themes/default/style.min.css"]);
define('jqm', ['thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.js']); define('jqm', ['thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.js']);
define("jqmbase", ['css!thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.theme.css']); define("jqmbase", ['css!thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.theme.css']);