[
https://issues.jboss.org/browse/GTNPORTAL-2495?page=com.atlassian.jira.pl...
]
Vu Viet Phuong updated GTNPORTAL-2495:
--------------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 3.4.0.Final
Resolution: Done
Minor js bug of UIUpload.js and UIPortal.js after mirgrate to jquery
branch
---------------------------------------------------------------------------
Key: GTNPORTAL-2495
URL:
https://issues.jboss.org/browse/GTNPORTAL-2495
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 3.3.0.Final
Reporter: Vu Viet Phuong
Assignee: Vu Viet Phuong
Priority: Minor
Fix For: 3.4.0.Final
in UIUpload.js --> initUploadEntry function have this
{code}
var response;
try {
eval("response = " + responseText);
} catch (err) {
return;
}
{code}
When run in non-dev mode. Closure compiler will remove response variable --> error in
console
in UIPortal.js --> showViewMode function
{code}
var pageBodyBlock = gj("UIPageBody");
{code}
--> lack of '#', so jquery can't select the UIPageBody dom component. When
we edit layout with View-Mode --> error when DnD pagebody component
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira