Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2010-05-24 09:28:47 +0400
committervipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2010-05-24 09:28:47 +0400
commit1b21c834f2ac59e6a6f501a90b7af96528073068 (patch)
tree507392300d7c9f566d70c34e11dac0526c494b6c /plugins/Dashboard
parent0459dd7baa8b44a1e78a94b5b3222de733c4be2e (diff)
refs #1235 - workaround "null is null or not an object" error on IE by cloning and hiding the Flash during the drag operation
Diffstat (limited to 'plugins/Dashboard')
-rw-r--r--plugins/Dashboard/templates/Dashboard.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/Dashboard/templates/Dashboard.js b/plugins/Dashboard/templates/Dashboard.js
index 5fce2afdb9..ab3cf8d1f4 100644
--- a/plugins/Dashboard/templates/Dashboard.js
+++ b/plugins/Dashboard/templates/Dashboard.js
@@ -153,10 +153,14 @@ dashboard.prototype =
{
var self = this;
- function onStart() {
+ function onStart(event, ui) {
+ if(!jQuery.support.noCloneEvent) {
+ $('object', this).hide();
+ }
}
function onStop(event, ui) {
+ $('object', this).show();
$('.widgetHover', this).removeClass('widgetHover');
$('.widgetTopHover', this).removeClass('widgetTopHover');
$('.button#close', this).hide();
@@ -173,7 +177,7 @@ dashboard.prototype =
forcePlaceholderSize: true,
placeholder: 'hover',
handle: '.widgetTop',
- helper: 'original',
+ helper: 'clone',
start: onStart,
stop: onStop
});