CC-6084 - fix calendar drag and drop
This commit is contained in:
parent
48f1c5b9a4
commit
604b81071c
5 changed files with 30 additions and 40 deletions
|
@ -1,7 +1,5 @@
|
|||
var previewWidth = 482,
|
||||
previewHeight = 110,
|
||||
USABILITY_HINT_HIDDEN_TOP = 102,
|
||||
USABILITY_HINT_VISIBLE_TOP = 130;
|
||||
previewHeight = 110;
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
|
@ -14,7 +12,6 @@ $(document).ready(function() {
|
|||
|
||||
//this statement tells the browser to fade out any success message after 5 seconds
|
||||
setTimeout(function(){$(".success").fadeOut("slow", function(){$(this).empty()});}, 5000);
|
||||
adjustForUsabilityHint();
|
||||
});
|
||||
|
||||
/*
|
||||
|
@ -194,18 +191,12 @@ function removeSuccessMsg() {
|
|||
$status.fadeOut("slow", function(){$status.empty()});
|
||||
}
|
||||
|
||||
function adjustForUsabilityHint() {
|
||||
var topVal = ($(".usability_hint").is(":visible") ? USABILITY_HINT_VISIBLE_TOP : USABILITY_HINT_HIDDEN_TOP);
|
||||
$("#sub-menu").css("top", topVal);
|
||||
}
|
||||
|
||||
function hideHint(h) {
|
||||
h.hide("slow").addClass("hidden");
|
||||
}
|
||||
|
||||
function showHint(h) {
|
||||
h.show("slow").removeClass("hidden");
|
||||
$(".wrapper, #sub-menu").css("top", USABILITY_HINT_VISIBLE_TOP);
|
||||
}
|
||||
|
||||
function getUsabilityHint() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue