]> source.dussan.org Git - jquery.git/commitdiff
input type=datetime-local support for ajax. 431/head
authorDenis Knauf <Denis.Knauf@gmail.com>
Thu, 7 Jul 2011 10:13:10 +0000 (12:13 +0200)
committerDenis Knauf <Denis.Knauf@gmail.com>
Thu, 7 Jul 2011 10:13:10 +0000 (12:13 +0200)
src/ajax.js

index 087f2febfb9ff856ddbfccba02fb051a871f52b9..355fd7e4d82aa1d9f58a8978132658e93743698b 100644 (file)
@@ -5,7 +5,7 @@ var r20 = /%20/g,
        rCRLF = /\r?\n/g,
        rhash = /#.*$/,
        rheaders = /^(.*?):[ \t]*([^\r\n]*)\r?$/mg, // IE leaves an \r character at EOL
-       rinput = /^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,
+       rinput = /^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,
        // #7653, #8125, #8152: local protocol detection
        rlocalProtocol = /^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,
        rnoContent = /^(?:GET|HEAD)$/,