[pLog-svn] r7078 - plog/branches/lifetype-1.2/class/template/smarty/plugins

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Fri Oct 22 13:07:57 EDT 2010


Author: jondaley
Date: 2010-10-22 13:07:57 -0400 (Fri, 22 Oct 2010)
New Revision: 7078

Modified:
   plog/branches/lifetype-1.2/class/template/smarty/plugins/function.pager.php
Log:
seems to me that the front-side pager should also not specify the 'top' parameter - I suppose it only matters if someone is doing something fancy in javascript, or have their blog in a frame or something.  related to #1644

Modified: plog/branches/lifetype-1.2/class/template/smarty/plugins/function.pager.php
===================================================================
--- plog/branches/lifetype-1.2/class/template/smarty/plugins/function.pager.php	2010-10-22 17:07:11 UTC (rev 7077)
+++ plog/branches/lifetype-1.2/class/template/smarty/plugins/function.pager.php	2010-10-22 17:07:57 UTC (rev 7078)
@@ -160,7 +160,7 @@
 			{
 				var index = list.selectedIndex;
 				var value = list.options[index].value;
-				top.location.href = value;
+				location.href = value;
 				return true;
 			}
 		</script>



More information about the pLog-svn mailing list