Author: kien_nguyen
Date: 2011-02-16 22:49:14 -0500 (Wed, 16 Feb 2011)
New Revision: 5899
Modified:
portal/branches/branch-GTNPORTAL-1790/web/eXoResources/src/main/webapp/javascript/eXo/gadget/Gadgets.js
Log:
GTNPORTAL-1802 Gadgets Google Map Search doesnt work
Modified:
portal/branches/branch-GTNPORTAL-1790/web/eXoResources/src/main/webapp/javascript/eXo/gadget/Gadgets.js
===================================================================
---
portal/branches/branch-GTNPORTAL-1790/web/eXoResources/src/main/webapp/javascript/eXo/gadget/Gadgets.js 2011-02-17
03:43:40 UTC (rev 5898)
+++
portal/branches/branch-GTNPORTAL-1790/web/eXoResources/src/main/webapp/javascript/eXo/gadget/Gadgets.js 2011-02-17
03:49:14 UTC (rev 5899)
@@ -762,26 +762,16 @@
}
}
this.setUserPrefs(prefs);
+ this.refresh();
};
-gadgets.IfrGadget.prototype.setUserPrefs = function(newUserPrefs) {
- gadgets.IfrGadget.superClass_.setUserPrefs.call(this, newUserPrefs);
- this.refresh();
-};
-
-gadgets.IfrGadget.prototype.setUserPref = function(name, value) {
- gadgets.IfrGadget.superClass_.setUserPref.call(this, name, value);
- this.refresh();
-};
-
gadgets.IfrGadget.prototype.handleCancelUserPrefs = function() {
this.hideUserPrefsDialog();
};
gadgets.IfrGadget.prototype.refresh = function() {
var iframeId = this.getIframeId();
- if (document.getElementById(iframeId))
- document.getElementById(iframeId).src = this.getIframeUrl();
+ document.getElementById(iframeId).src = this.getIframeUrl();
};