# HG changeset patch # User František Kučera # Date 1248203834 -7200 # Node ID bbc73f664363243444d34363955ce1a520dab8a5 # Parent 6c2933b1d391c3fcf8f06982ba7e3f37097641b7 Drobnost: XHTML validita v AJAXu. diff -r 6c2933b1d391 -r bbc73f664363 java/sql-vyuka/web/ajax.jspx --- a/java/sql-vyuka/web/ajax.jspx Tue Jul 21 20:39:12 2009 +0200 +++ b/java/sql-vyuka/web/ajax.jspx Tue Jul 21 21:17:14 2009 +0200 @@ -151,7 +151,7 @@ -
+
diff -r 6c2933b1d391 -r bbc73f664363 java/sql-vyuka/web/hlavni.js --- a/java/sql-vyuka/web/hlavni.js Tue Jul 21 20:39:12 2009 +0200 +++ b/java/sql-vyuka/web/hlavni.js Tue Jul 21 21:17:14 2009 +0200 @@ -120,8 +120,8 @@ if (ajax.readyState == 4) { zobraz(ajax.responseText, napovedniPole); /** Uložíme si do paměti ID aktuální stránky */ - if (document.pruvodceData) { - pruvodceAktualniId = document.pruvodceData.id.value + if (document.getElementById('pruvodceData')) { + pruvodceAktualniId = document.getElementById('pruvodceData').id.value; } else { pruvodceAktualniId = 0; }