Fixed problem with jQuery UI sortable
- jQuery UI sortable drag initiation is slow when container has hidden items; - removed old code to open/close BookmarksBox in IITCm;
This commit is contained in:
@ -151,18 +151,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(newStatus === 1) {
|
if(newStatus === 1) {
|
||||||
$('#bookmarksBox').show();
|
$('#bookmarksBox').css('height', 'auto');
|
||||||
$('#bkmrksTrigger').hide();
|
$('#bkmrksTrigger').css('height', '0');
|
||||||
} else {
|
} else {
|
||||||
$('#bookmarksBox').hide();
|
$('#bkmrksTrigger').css('height', '64px');
|
||||||
$('#bkmrksTrigger').show();
|
$('#bookmarksBox').css('height', '0');
|
||||||
}
|
|
||||||
|
|
||||||
if(window.plugin.bookmarks.isSmart) {
|
|
||||||
var button = $('#bkmrksTrigger');
|
|
||||||
button.toggleClass('open');
|
|
||||||
if(button.hasClass('open')) { button.text('[-] Bookmarks'); }
|
|
||||||
else{ button.text('[+] Bookmarks'); }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
window.plugin.bookmarks.statusBox['show'] = newStatus;
|
window.plugin.bookmarks.statusBox['show'] = newStatus;
|
||||||
@ -919,6 +912,7 @@
|
|||||||
+'<a class="newFolder" onclick="window.plugin.bookmarks.addElement(this, \'folder\');return false;">+ Folder</a>'
|
+'<a class="newFolder" onclick="window.plugin.bookmarks.addElement(this, \'folder\');return false;">+ Folder</a>'
|
||||||
+'</div>'
|
+'</div>'
|
||||||
+'</div>'
|
+'</div>'
|
||||||
|
+'<div style="border-bottom-width:1px;"></div>'
|
||||||
+'</div>';
|
+'</div>';
|
||||||
|
|
||||||
plugin.bookmarks.htmlDisabledMessage = '<div title="Your browser do not support localStorage">Plugin Bookmarks disabled*.</div>';
|
plugin.bookmarks.htmlDisabledMessage = '<div title="Your browser do not support localStorage">Plugin Bookmarks disabled*.</div>';
|
||||||
|
@ -15,12 +15,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#bookmarksBox{
|
#bookmarksBox{
|
||||||
display:block;
|
display:block !important;
|
||||||
position:absolute !important;
|
position:absolute !important;
|
||||||
z-index:4001;
|
z-index:4001;
|
||||||
top:100px;
|
top:100px;
|
||||||
left:100px;
|
left:100px;
|
||||||
width:231px;
|
width:231px;
|
||||||
|
height:auto;
|
||||||
|
overflow:hidden;
|
||||||
}
|
}
|
||||||
#bookmarksBox .addForm,
|
#bookmarksBox .addForm,
|
||||||
#bookmarksBox #bookmarksTypeBar,
|
#bookmarksBox #bookmarksTypeBar,
|
||||||
@ -40,7 +42,6 @@
|
|||||||
float:left !important;
|
float:left !important;
|
||||||
}
|
}
|
||||||
#bookmarksBox .handle{
|
#bookmarksBox .handle{
|
||||||
/* text-indent:-20px;*/
|
|
||||||
width:80%;
|
width:80%;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
@ -213,7 +214,7 @@
|
|||||||
#bookmarksBox ul .bookmarkFolder{
|
#bookmarksBox ul .bookmarkFolder{
|
||||||
border-top-width:1px;
|
border-top-width:1px;
|
||||||
}
|
}
|
||||||
#bookmarksBox,
|
|
||||||
#bookmarksBox #topBar,
|
#bookmarksBox #topBar,
|
||||||
#bookmarksBox #bookmarksTypeBar,
|
#bookmarksBox #bookmarksTypeBar,
|
||||||
#bookmarksBox .addForm,
|
#bookmarksBox .addForm,
|
||||||
@ -242,13 +243,15 @@
|
|||||||
border-left-width:0;
|
border-left-width:0;
|
||||||
}
|
}
|
||||||
#bkmrksTrigger{
|
#bkmrksTrigger{
|
||||||
display:none;
|
display:block !important;
|
||||||
position:absolute;
|
position:absolute;
|
||||||
|
overflow:hidden;
|
||||||
top:0;
|
top:0;
|
||||||
left:277px;
|
left:277px;
|
||||||
width:47px;
|
width:47px;
|
||||||
margin-top:-36px;
|
margin-top:-36px;
|
||||||
height:64px;
|
height:64px;
|
||||||
|
height:0;
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
z-index:2999;
|
z-index:2999;
|
||||||
background-position:center bottom;
|
background-position:center bottom;
|
||||||
@ -483,7 +486,6 @@
|
|||||||
#bookmarksBox.mobile .bookmarkList li.bookmarkFolder a.bookmarksAnchor,
|
#bookmarksBox.mobile .bookmarkList li.bookmarkFolder a.bookmarksAnchor,
|
||||||
#bookmarksBox.mobile .bookmarkList li.bkmrk a.bookmarksLink{
|
#bookmarksBox.mobile .bookmarkList li.bkmrk a.bookmarksLink{
|
||||||
text-indent:10px;
|
text-indent:10px;
|
||||||
/* width:85%;*/
|
|
||||||
height:36px;
|
height:36px;
|
||||||
line-height:24px;
|
line-height:24px;
|
||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
@ -493,7 +495,6 @@
|
|||||||
}
|
}
|
||||||
#bookmarksBox.mobile .bookmarkList > ul{
|
#bookmarksBox.mobile .bookmarkList > ul{
|
||||||
border-bottom:1px solid #20a8b1 !important;
|
border-bottom:1px solid #20a8b1 !important;
|
||||||
/* border-right:1px solid #20a8b1 !important;*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#bookmarksBox.mobile .bookmarkList .bookmarkFolder.othersBookmarks ul{
|
#bookmarksBox.mobile .bookmarkList .bookmarkFolder.othersBookmarks ul{
|
||||||
|
Reference in New Issue
Block a user