Author: psharples
Date: Wed Aug 8 15:18:24 2012
New Revision: 1370808
URL: http://svn.apache.org/viewvc?rev=1370808&view=rev
Log:
Minor fix for w3c widgets not responding to minimize/restore events in the UI.
Modified:
rave/trunk/rave-portal-resources/src/main/webapp/static/script/rave_wookie.js
Modified:
rave/trunk/rave-portal-resources/src/main/webapp/static/script/rave_wookie.js
URL:
http://svn.apache.org/viewvc/rave/trunk/rave-portal-resources/src/main/webapp/static/script/rave_wookie.js?rev=1370808&r1=1370807&r2=1370808&view=diff
==============================================================================
---
rave/trunk/rave-portal-resources/src/main/webapp/static/script/rave_wookie.js
(original)
+++
rave/trunk/rave-portal-resources/src/main/webapp/static/script/rave_wookie.js
Wed Aug 8 15:18:24 2012
@@ -76,27 +76,27 @@ rave.wookie = rave.wookie || (function()
// collapse/restore functions
widget.collapse = function() {
- $(ooacontainer.getIframe).hide();
+ $(ooacontainer.getIframe()).hide();
};
widget.restore = function() {
- $(ooacontainer.getIframe).show();
+ $(ooacontainer.getIframe()).show();
};
widget.maximize = function() {
// always display the widget in canvas view even if it currently
collapsed
if (widget.collapsed){
userCollapsed = true;
- $(ooacontainer.getIframe).show();
+ $(ooacontainer.getIframe()).show();
}
};
widget.minimize = function() {
if (widget.collapsed){
userCollapsed = false;
- $(ooacontainer.getIframe).hide();
+ $(ooacontainer.getIframe()).hide();
}
};
// if in the collapsed state, hide the layer
if (widget.collapsed){
- $(ooacontainer.getIframe).hide();
+ $(ooacontainer.getIframe()).hide();
}
}