From 31688eaa1ce450353ce1e17a02710b1397ad7a46 Mon Sep 17 00:00:00 2001 From: hummypkg Date: Thu, 22 Sep 2011 20:15:26 +0000 Subject: [PATCH] add doctype to headers, fix iajax problem git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@416 2a923420-c742-0410-a762-8d5b09965624 --- var/mongoose/html/js/iajax.js | 2 +- var/mongoose/html/lib/header.jim | 2 ++ var/mongoose/html/lib/header.shtml | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/var/mongoose/html/js/iajax.js b/var/mongoose/html/js/iajax.js index 22a0403..1da56e2 100644 --- a/var/mongoose/html/js/iajax.js +++ b/var/mongoose/html/js/iajax.js @@ -33,7 +33,7 @@ jQuery.ajaxPrefilter(function(options, _, jqXHR) { } } } catch(e) { - alert(e); + console.log(e); } }, options.progressInterval); diff --git a/var/mongoose/html/lib/header.jim b/var/mongoose/html/lib/header.jim index 9c682a3..38cc0f1 100644 --- a/var/mongoose/html/lib/header.jim +++ b/var/mongoose/html/lib/header.jim @@ -1,4 +1,6 @@ puts { + diff --git a/var/mongoose/html/lib/header.shtml b/var/mongoose/html/lib/header.shtml index e688b75..53eb96d 100644 --- a/var/mongoose/html/lib/header.shtml +++ b/var/mongoose/html/lib/header.shtml @@ -1,3 +1,5 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" + "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title><!--#exec cmd="/mod/var/mongoose/include/model.jim" -->