1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-13 17:09:46 +01:00

Closes Issue #148 - sort button

This commit is contained in:
Cameron 2013-03-24 00:53:43 -07:00
parent 10f72f2d1c
commit e33e02b7db
2 changed files with 2 additions and 2 deletions

View File

@ -2175,7 +2175,7 @@ class e_form
{
$mode = preg_replace('/[^\w]/', '', vartrue($_GET['mode'], ''));
$from = intval(vartrue($_GET['from'],0));
$value .= "<a class='e-sort sort-trigger btn ' style='cursor:move' href='".e_SELF."?mode={$mode}&action=sort&ajax_used=1&from={$from}' title='Re-order'>".ADMIN_SORT_ICON."</a> ";
$value .= "<a class='e-sort sort-trigger btn ' style='cursor:move' data-target='".e_SELF."?mode={$mode}&action=sort&ajax_used=1&from={$from}' title='Re-order'>".ADMIN_SORT_ICON."</a> ";
}
$cls = false;

View File

@ -246,7 +246,7 @@ $(document).ready(function()
var linkid = $(ui.item).attr("id");
// $("td").removeClass("e-moving","slow");
var script = $(".sort-trigger:first").attr("href");
var script = $(".sort-trigger:first").attr("data-target");
$.ajax({
type: "POST",