1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 14:17:49 +02:00

Fixes #117: Admin-ui Sitelinks searchquery filter is not functioning -

obsolete code breaking ajax calls
This commit is contained in:
SecretR
2013-02-22 14:59:47 +02:00
parent 82625f6795
commit d35720e235

View File

@@ -129,25 +129,6 @@ class links_admin_ui extends e_admin_ui
5 => LINKLAN_1 // 5 = miniwindow 800x600 5 => LINKLAN_1 // 5 = miniwindow 800x600
); );
if(e_AJAX_REQUEST) // ajax link sorting.
{
$sql = e107::getDb();
$c= ($_GET['from']) ? intval($_GET['from']) : 0;
if(isset($_POST['all']))
{
foreach($_POST['all'] as $row)
{
list($tmp,$id) = explode("-",$row);
$sql->db_Update("links","link_order = ".intval($c)." WHERE link_id = ".intval($id));
$c++;
}
}
echo "Updating";
exit;
}
} }
public function handleListLinkParentBatch($selected, $value) public function handleListLinkParentBatch($selected, $value)