Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-7883

"Undefined variable: initSortable" when adding slides (have to click "select" twice)

XMLWordPrintable

      create a new slideshow, add some slides, click "select" - nothing happens. opera error console has :

      [28/02/14 01:29:24] JavaScript - http://192.168.5.109/zabbix/popup.php?srctbl=screens&srcfld1=screenid&dstfrm=slideForm&multiselect=1&writeonly=1
      Event thread: click
      Uncaught exception: ReferenceError: Undefined variable: initSortable
      Error thrown at line 127, column 3 in addPopupValues(list) in zabbix/slideconf.php?form=update&slideshowid=1&sid=52c5555734511d12:
      initSortable();
      called from line 52, column 5 in addSelectedValues(form, object) in zabbix/popup.php?srctbl=screens&srcfld1=screenid&dstfrm=slideForm&multiselect=1&writeonly=1:
      parent.addPopupValues(items);
      called from line 1, column 12 in <anonymous function>(event) in zabbix/popup.php?srctbl=screens&srcfld1=screenid&dstfrm=slideForm&multiselect=1&writeonly=1:
      addSelectedValues('screens', 'screenid');

      regression, caused by :

      ------------------------------------------------------------------------
      r42563 | ivo | 2014-02-12 14:50:53 +0200 (Wed, 12 Feb 2014) | 1 line

      ..F....... ZBX-7242 fixed jQuery sortable objects not to change with when dragging them

            iivs Ivo Kurzemnieks
            richlv richlv
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: