Koha/koha-tmpl/intranet-tmpl/prog/en
Martin Renvoize 43519c0525
Bug 23612: (RM follow-up) Fix failing tests
Trailing comma's were causing hidden javascript errors during selenium
tests.

Error was identified by adding a $s->capture($driver) line to the
relevant selenium test and using the following JS snippet to dump errors
to the screen.

   (function () {
       var ul = null;
       function createErrorList() {
           ul = document.createElement('ul');
           ul.setAttribute('id', 'js_error_list');
           //ul.style.display = 'none';
           document.body.appendChild(ul);
       }
       window.onerror = function(msg){
           if (ul === null)
               createErrorList();
           var li = document.createElement("li");
           li.appendChild(document.createTextNode(msg));
           ul.appendChild(li);
       };
   })();

Which clearly showed the following error.

    ReferenceError: KohaTable is not defined

Removing the trailing comma's introduced in this bug resolved the issue.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-10-07 10:59:50 +01:00
..
data Bug 19648: Revise marc21_field_007.xml 2019-04-12 01:47:51 +00:00
includes Bug 23612: (RM follow-up) Fix failing tests 2019-10-07 10:59:50 +01:00
modules Bug 23711: Fix bad path 2019-10-03 10:58:24 +01:00
xslt Bug 21058: Added HTML class to showRDAtag264 2019-09-12 16:46:39 +01:00
columns.def Bug 14570: Make it possible to add multiple guarantors to a record 2019-08-20 16:04:48 +01:00