[
https://jira.jboss.org/jira/browse/GTNPORTAL-1014?page=com.atlassian.jira...
]
kien nguyen resolved GTNPORTAL-1014.
------------------------------------
Resolution: Won't Fix
I reverted code that help compatability with google gadgets and change this bug to
"Won't Fix" status. Any time we get name with canvas view using
gadgets.views.getCurrentView().getName() function, we will get 'canvas' as igoogle
implemented.
Returned currentView does not match enum view
---------------------------------------------
Key: GTNPORTAL-1014
URL:
https://jira.jboss.org/jira/browse/GTNPORTAL-1014
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 3.0.0-GA
Reporter: dang tung
Assignee: kien nguyen
Fix For: 3.1.0-GA
Attachments: gadgetview.patch
Original Estimate: 4 hours
Remaining Estimate: 4 hours
Can not use enum view to compare.
Suppose the current gadget's view is: canvas.
var currentView = gadgets.views.getCurrentView().getName();
The desired value: currentView is gadgets.views.ViewType.CANVAS (= 'CANVAS').
but the returned value is: 'canvas'.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira