[Koha-bugs] [Bug 10607] New: JavaScript indexOf function not supported by IE 7 and 8

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 17 18:10:09 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10607

            Bug ID: 10607
           Summary: JavaScript indexOf function not supported by IE 7 and
                    8
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Browser compatibility
          Assignee: oleonard at myacpl.org
          Reporter: gmcharlt at gmail.com
        QA Contact: testopia at bugs.koha-community.org

The indexOf JavaScript function is not supported by IE 7 and 8.  This bug is a
omnibus for replacing it in Koha JavaScript code.

Grepping indicates that the following files may be affected:

gmc at zadi:~/koha$ grep -rl indexOf
koha-tmpl/intranet-tmpl/prog/en/{includes,modules,js}
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-recieve.tt
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt
koha-tmpl/intranet-tmpl/prog/en/js/additem.js
koha-tmpl/intranet-tmpl/prog/en/js/xmlControlfield.js
koha-tmpl/intranet-tmpl/prog/en/js/acq.js
koha-tmpl/intranet-tmpl/prog/en/js/basket.js
koha-tmpl/intranet-tmpl/prog/en/js/datatables.js
gmc at zadi:~/koha$ grep -rl indexOf
koha-tmpl/opac-tmpl/prog/en/{includes,modules,js}    
koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-full-serial-issues.tt
koha-tmpl/opac-tmpl/prog/en/js/browserid_include.js
koha-tmpl/opac-tmpl/prog/en/js/amazonimages.js
koha-tmpl/opac-tmpl/prog/en/js/basket.js
koha-tmpl/opac-tmpl/prog/en/js/datatables.js
koha-tmpl/opac-tmpl/prog/en/js/bakertaylorimages.js

The following external JavaScript library files may use it as well, but that
isn't necessarily a problem, as they may be doing so in a cross-browser way:

gmc at zadi:~/koha$ grep -rl indexOf koha-tmpl/opac-tmpl/prog/en/lib
koha-tmpl/opac-tmpl/prog/en/lib/greybox/GreyBox_v5_5/greybox_source/auto_deco.js
koha-tmpl/opac-tmpl/prog/en/lib/greybox/GreyBox_v5_5/greybox_source/base/base.js
koha-tmpl/opac-tmpl/prog/en/lib/greybox/GreyBox_v5_5/greybox_source/base/AJS.js
koha-tmpl/opac-tmpl/prog/en/lib/greybox/AJS.js
koha-tmpl/opac-tmpl/prog/en/lib/greybox/gb_scripts.js
koha-tmpl/opac-tmpl/prog/en/lib/jquery/jquery.js
koha-tmpl/opac-tmpl/prog/en/lib/jquery/jquery-ui.js
koha-tmpl/opac-tmpl/prog/en/lib/jquery/plugins/jquery.metadata.min.js
koha-tmpl/opac-tmpl/prog/en/lib/jquery/plugins/jquery.highlight-3.js
koha-tmpl/opac-tmpl/prog/en/lib/jquery/plugins/jquery.dataTables.min.js
gmc at zadi:~/koha$ grep -rl indexOf koha-tmpl/intranet-tmpl/prog/en/lib
koha-tmpl/intranet-tmpl/prog/en/lib/yui/container/container_core-debug.js
koha-tmpl/intranet-tmpl/prog/en/lib/yui/container/container_core.js
koha-tmpl/intranet-tmpl/prog/en/lib/yui/container/container-min.js
koha-tmpl/intranet-tmpl/prog/en/lib/yui/container/container.js
koha-tmpl/intranet-tmpl/prog/en/lib/yui/container/container-debug.js
koha-tmpl/intranet-tmpl/prog/en/lib/yui/container/container_core-min.js
koha-tmpl/intranet-tmpl/prog/en/lib/yui/yahoo-dom-event/yahoo-dom-event.js
koha-tmpl/intranet-tmpl/prog/en/lib/yui/utilities/utilities.js
koha-tmpl/intranet-tmpl/prog/en/lib/yui/menu/menu-min.js
koha-tmpl/intranet-tmpl/prog/en/lib/yui/menu/menu-debug.js
koha-tmpl/intranet-tmpl/prog/en/lib/yui/menu/menu.js
koha-tmpl/intranet-tmpl/prog/en/lib/yui/plugins/bubbling-min.js
koha-tmpl/intranet-tmpl/prog/en/lib/greybox/GreyBox_v5_5/greybox_source/auto_deco.js
koha-tmpl/intranet-tmpl/prog/en/lib/greybox/GreyBox_v5_5/greybox_source/base/base.js
koha-tmpl/intranet-tmpl/prog/en/lib/greybox/GreyBox_v5_5/greybox_source/base/AJS.js
koha-tmpl/intranet-tmpl/prog/en/lib/greybox/AJS.js
koha-tmpl/intranet-tmpl/prog/en/lib/greybox/gb_scripts.js
koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.uitablefilter.js
koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/jquery-ui-timepicker-addon.js
koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.dataTables.min.js
koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.dataTables.columnFilter.js

[1] http://kangax.github.io/es5-compat-table/#Array.prototype.indexOf

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list