|
195 | 195 | if (enhance.date !== null) |
196 | 196 | enhance.date = function (fNode, oNode) { |
197 | 197 | var o = getOptions(options, "date", fNode, oNode); |
| 198 | + if(!o.zIndex) o.zIndex=1000000; |
198 | 199 | o.language = culture; |
199 | 200 | o.startView = 2; |
200 | 201 | if (typeof o.autoclose == "undefined") o.autoclose = true; |
|
216 | 217 | if (enhance.week !== null) |
217 | 218 | enhance.week = function(fNode, oNode){ |
218 | 219 | var o = getOptions(options, "week", fNode, oNode); |
| 220 | + if(!o.zIndex) o.zIndex=1000000; |
219 | 221 | o.language = culture; |
220 | 222 | o.startView = 2; |
221 | 223 | if (typeof o.autoclose == "undefined") o.autoclose = true; |
|
237 | 239 | if (enhance.month !== null) |
238 | 240 | enhance.month = function(fNode, oNode){ |
239 | 241 | var o = getOptions(options, "month", fNode, oNode); |
| 242 | + if(!o.zIndex) o.zIndex=1000000; |
240 | 243 | o.language = culture; |
241 | 244 | o.startView = 3; |
242 | 245 | if (typeof o.autoclose == "undefined") o.autoclose = true; |
|
258 | 261 | if (enhance.time !== null) |
259 | 262 | enhance.time = function(fNode, oNode){ |
260 | 263 | var o = getOptions(options, "time", fNode, oNode); |
| 264 | + if(!o.zIndex) o.zIndex=1000000; |
261 | 265 | o.language = culture; |
262 | 266 | o.startView = o.maxView = 1; |
263 | 267 | if (typeof o.autoclose == "undefined") o.autoclose = true; |
|
279 | 283 | if (enhance.datetime !== null) |
280 | 284 | enhance.datetime = function(fNode, oNode){ |
281 | 285 | var o = getOptions(options, "datetime", fNode, oNode); |
| 286 | + if(!o.zIndex) o.zIndex=1000000; |
282 | 287 | o.language = culture; |
283 | 288 | o.startView = 2; |
284 | 289 | if (typeof o.autoclose == "undefined") o.autoclose = true; |
|
344 | 349 | var oldInput = mvcct.enhancer["addBasicInput"]; |
345 | 350 | mvcct.enhancer["addBasicInput"] = function (Globalize) { |
346 | 351 | oldInput(Globalize); |
347 | | - mvcct.enhancer["register"](null, false, null, "html5 bootstrap/widgets fallback", preProcessOptions); |
| 352 | + mvcct.enhancer["register"](null, false, null, "html5 bootstrap/widgets fallback", preProcessOptions, 'html5-input'); |
348 | 353 | }; |
349 | 354 |
|
350 | 355 | })(jQuery); |
0 commit comments