From c9410fc565483865dbe93d6c478badc679508725 Mon Sep 17 00:00:00 2001 From: Sanj Date: Mon, 24 Oct 2011 00:58:07 +0100 Subject: [PATCH] clear object_id and page_no when clicking on new tab --- itf/static/js/insidepage.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/itf/static/js/insidepage.js b/itf/static/js/insidepage.js index 99244c4..2a21a35 100755 --- a/itf/static/js/insidepage.js +++ b/itf/static/js/insidepage.js @@ -146,6 +146,8 @@ $(function() { } /* end handle sort */ + $('#object_id').val(''); + $('#page_no').val('1'); /* handle displaying initial list on page */ $('#listForm').submit(); // displayList(data.page.items);