-
Type: User story
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.8
-
Fix Version/s: 5.9.1
-
Component/s: Seam / JSF UI
-
Tags:
-
Story Points:5
Cleanup use of nuxeo object / namespace in JavaScript.
The future nuxeo.js JavaScript client will put its functions inside the global nuxeo object, we need to do some cleanup inside Nuxeo as some module completely override the nuxeo object (nuxeo-opensocial for instance).
Correctly wrap new 5.7 stuff (safe edit, double click shield, ...) to avoid putting things in the global JS namespace. We should put them in their own object / namespace inside the nuxeo object:
- nuxeo.safeEdit
Goal : future nuxeo.js should be usable with a 5.8
- nuxeo.doubleClickShield
- nuxeo.XXXXX
Wrap safe edit as jQuery plugin.
Rename our own jQuery plugins to jquery.nuxeo.XXXX.js (for opensocial, double click shield, safe edit)