mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 21:57:51 +02:00
Fixes #117: Admin-ui Sitelinks searchquery filter is not functioning -
obsolete code breaking ajax calls
This commit is contained in:
@@ -129,25 +129,6 @@ class links_admin_ui extends e_admin_ui
|
||||
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)
|
||||
|
Reference in New Issue
Block a user