changeset 976:b0a8cb63334e

Fix adding of new entries in some rare cases.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 29 Nov 2014 12:46:41 +0200
parents 38936f77856e
children a1da651a2e45
files admajax.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/admajax.php	Sat Nov 29 12:31:47 2014 +0200
+++ b/admajax.php	Sat Nov 29 12:46:41 2014 +0200
@@ -231,7 +231,7 @@
   {
     echo
       "  <div class=\"entryRow ".($row % 2 == 1 ? "rodd" : "reven").
-      "\" id=\"entry".$eid."\"".($mode == EEMODE_NORMAL ? " onClick=\"activateEntry(".$eid.", false)\"" : "").">\n";
+      "\"".($mode == EEMODE_NORMAL ? " id=\"entry".$eid."\" onClick=\"activateEntry(".$eid.", false)\"" : "").">\n";
   }
 
   // Only show show_id if this is a normal compo and we are not adding