This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
developers:changes_to_note:start [2014/02/17 18:57] jonyo [Category Name / Description / Image in Language Table 7.4] |
developers:changes_to_note:start [2014/09/25 16:55] (current) |
||
---|---|---|---|
Line 449: | Line 449: | ||
<code html> | <code html> | ||
<div class=' | <div class=' | ||
- | <a class=' | + | <a class=' |
</ | </ | ||
*}</ | *}</ | ||
Line 456: | Line 456: | ||
<code html> | <code html> | ||
<div class=' | <div class=' | ||
- | <a class=' | + | <a class=' |
</ | </ | ||
Line 853: | Line 853: | ||
In the ongoing task to convert existing functionality to use jQuery instead of Prototype, the old function geoUtil.autoSubmitForm() has been converted to jQuery and moved to gjUtil.autoSubmitForm() as part of bug 1163 | In the ongoing task to convert existing functionality to use jQuery instead of Prototype, the old function geoUtil.autoSubmitForm() has been converted to jQuery and moved to gjUtil.autoSubmitForm() as part of bug 1163 | ||
+ | |||
+ | ==== JS geoUtil.instrBtns removed 7.4 ==== | ||
+ | |||
+ | As part of bug 1212: The " | ||
+ | |||
+ | ==== JS geoTabs Replaced 7.4 ==== | ||
+ | |||
+ | The old geoTabs has been replaced by a in-house jQuery plugin, gjTabs. | ||
+ | |||
+ | What you need to note, if you have any custom " | ||
+ | |||
+ | **Old Way:** | ||
+ | <code js> | ||
+ | //function to run when the tab with id of tabId is activated | ||
+ | };</ | ||
+ | |||
+ | **New Way:** | ||
+ | <code js> | ||
+ | //function to run when the tab with id of tabId is activated | ||
+ | });</ | ||
+ | |||
+ | **Hint:** If want to make it backwards / forwards compatible((This is NOT recommended for new development as it can get hairy, since new version only jQuery will be available)), | ||
+ | <code js>var myCallback = function () { | ||
+ | //function to run when the tab with id of tabId is activated | ||
+ | }; | ||
+ | if (typeof geoTabs !== ' | ||
+ | //use old way | ||
+ | geoTabs.tabCallbacks.tabId = myCallback; | ||
+ | } else { | ||
+ | //new way | ||
+ | jQuery('# | ||
+ | }</ | ||
+ |