diff --git a/code/AssetAdmin.php b/code/AssetAdmin.php index 3cc10925..fffd9636 100755 --- a/code/AssetAdmin.php +++ b/code/AssetAdmin.php @@ -40,8 +40,9 @@ class AssetAdmin extends LeftAndMain { ); public function Link($action = null) { - if(!$action) $action = "index"; - return "admin/assets/$action/" . $this->currentPageID(); + //if(!$action) $action = "index"; + //return "admin/assets/$action/" . $this->currentPageID(); + return "admin/assets/$action/"; } /** diff --git a/javascript/ModelAdmin.js b/javascript/ModelAdmin.js index a9933509..789be733 100644 --- a/javascript/ModelAdmin.js +++ b/javascript/ModelAdmin.js @@ -111,7 +111,7 @@ jQuery(document).ready(function() { return false; }); - jQuery('#right #ModelAdminPanel tbody td a').livequery('click', function(){ + jQuery('#right #Form_ResultsForm tbody td a').livequery('click', function(){ var el = jQuery(this); showRecord(el.attr('href')); //el.parent().parent().find('td').removeClass('active'); diff --git a/templates/Includes/AssetTableField.ss b/templates/Includes/AssetTableField.ss index 87cb95af..e9e2c4e8 100755 --- a/templates/Includes/AssetTableField.ss +++ b/templates/Includes/AssetTableField.ss @@ -1,4 +1,4 @@ -