Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

safari should also be included for the document events so that the mo…

…dal window isn't sticky (not let go) when dragging quite fast (from 1.4)

git-svn-id: https://svn.apache.org/repos/asf/wicket/trunk@1204468 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit 54685fb40e7a506d7d1751ee5058f27d79b0d24e 1 parent 9c891b8
Johan Compagner authored
View
2  ...extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/modal/res/modal.js
@@ -907,7 +907,7 @@ Wicket.Window.prototype = {
* Called when dragging has started.
*/
onBegin: function(object) {
- if (this.isIframe() && (Wicket.Browser.isGecko() || Wicket.Browser.isIE())) {
+ if (this.isIframe() && (Wicket.Browser.isGecko() || Wicket.Browser.isIE() || Wicket.Browser.isSafari())) {
this.revertList = new Array();
Wicket.Iframe.documentFix(document, this.revertList);
}
Please sign in to comment.
Something went wrong with that request. Please try again.