#1228 drag n' drop issue

XOOPS_2.6.x
open
Mage Grégory
None
5
2012-09-25
2012-09-08
No

Drag 'n drop stop working in 2.6.0 alpha 1

It's due to double including jquery.ui.

One inclusion from /media/jquery/plugins/ wich is UI version 1.70 AND another including from /media/plugins/ui/ wich is the new ui version 1.83...

Problem is the old overwrites the new in the header giving dom error "d is undefined" in the browser..

Solution is to locate
[code]
addScript($xoops->url('/media/jquery/plugins/jquery.ui.js'));
[/code]

and replace with
[code]
addScript($xoops->url('/media/jquery/ui/jquery.ui.js'));
[/code]

in all of the following files
Modules/Banners/index.php
Modules/Banners/banners.php
Modules/Banners/clients.php
Modules/protector/Admin/Advisory.php
Modules/System/Admin/blocksadmin/Main.php
Modules/System/Themes/Default/Default.php

Discussion

  • Mage Grégory
    Mage Grégory
    2012-09-09

    This is corrected, thank you

     
  • Mage Grégory
    Mage Grégory
    2012-09-09

    Fixed in SVN and waiting for review