View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0012631 | mantisbt | javascript | public | 2010-12-25 21:36 | 2014-12-08 00:33 |
Reporter | dhx | Assigned To | dhx | ||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.15 | ||||
Target Version | 1.3.0-beta.1 | Fixed in Version | 1.3.0-beta.1 | ||
Summary | 0012631: Replace old inline dynamic filter code with jQuery equivalent | ||||
Description | MantisBT is currently using an antiquated method for handling dynamic filters. This method makes use of a whole lot of custom JavaScript code that is likely not very robust and cross-browser-compatible. The current method also makes heavy use of inline JavaScript which blocks our progress towards removing all inline JavaScript from our HTML output as per bug 0011826. Instead of using this old method we should instead use a modern jQuery AJAX equivalent that will be much simpler and require far less code. It is also very easy to get jQuery AJAX working entirely from within external JavaScript files. | ||||
Tags | No tags attached. | ||||
MantisBT: master 7790835c 2010-12-25 21:26 Details Diff |
Issue 0012631: Replace old dynamic filter JavaScript code with jQuery MantisBT was using a very old and messy method for handling dynamic filters with client side JavaScript. This involved a lot of inline JavaScript throughout the HTML output which is blocking our progress towards bug 0011826 - completely removing all inline JavaScript from the HTML output. This patch removes the old dynamic filter JavaScript approach and replaces it with a smaller, faster, more reliable and easier to maintain jQuery equivalent. |
Affected Issues 0011826, 0012631 |
|
rm - javascript/dev/addLoadEvent.js | Diff | ||
mod - core/helper_api.php | Diff File | ||
mod - javascript/common.js | Diff File | ||
mod - docbook/Admin_Guide/en-US/Configuration.xml | Diff File | ||
rm - javascript/dynamic_filters.js | Diff | ||
mod - core/filter_api.php | Diff File | ||
mod - view_all_bug_page.php | Diff File | ||
mod - core/obsolete.php | Diff File | ||
rm - javascript/dev/dynamic_filters.js | Diff | ||
mod - core/print_api.php | Diff File | ||
mod - return_dynamic_filters.php | Diff File | ||
mod - lang/strings_english.txt | Diff File | ||
mod - admin/check/check_display_inc.php | Diff File | ||
rm - javascript/dev/xmlhttprequest.js | Diff | ||
rm - javascript/xmlhttprequest.js | Diff | ||
rm - javascript/addLoadEvent.js | Diff | ||
mod - view_filters_page.php | Diff File | ||
mod - config_defaults_inc.php | Diff File |