Skip to content

TagSpaces is an offline, open source, document manager with tagging support

adding test resizable functionality

uggrocke3e481aa5045
diff --git a/data/js/core.ui.js b/data/js/core.ui.js
index 43eaa9c10..8c5fd0095 100644
--- a/data/js/core.ui.js
+++ b/data/js/core.ui.js
@@ -370,8 +370,30 @@ define(function(require, exports) {
});
platformTuning();
+
+ //initResizableUI();
}
+ /* function initResizableUI() {
+ var dividerStorage = 80;
+ $(".row-divider").draggable({
+ axis: "y",
+ containment: $(".col3"),
+ drag: function(e, ui) {
+ console.log("top offset: " + ui.offset.top + " - " + ui.position.top);
+ //$(".col3 .row1").css("height", (ui.offset.top-15) + "px");
+
+ $(".col3 .row1").css("flex", "0 1 " + (ui.offset.top) + "px");
+
+ $(".col3 .row2").css("flex", "1");
+ },
+ stop: function(e, ui) {
+ console.log("height: " + $(".col3 .row1").css('height'))
+ ui.position.top = $(".col3 .row1").css('height');
+ }
+ });
+ }*/
+
function openNewInstance() {
if (!isCordova) {
window.open(window.location.href, '_blank', 'width=1260,height=748');