Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JRS-1304 Visualize.js shouldn't override CSS on third-party page. #1

Open
wants to merge 1 commit into
base: 1.10.4-js-patched
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ui/jquery.ui.datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -2009,8 +2009,9 @@ $.fn.datepicker = function(options){
}

/* Append datepicker main container to body if not exist. */
// JASPER patch. wrap datepicker by div with class visualizejs for embedding
if ($("#"+$.datepicker._mainDivId).length === 0) {
$("body").append($.datepicker.dpDiv);
$("body").append($("<div class='visualizejs'></div>").append($.datepicker.dpDiv));
}

var otherArgs = Array.prototype.slice.call(arguments, 1);
Expand Down