Overview
SHA1 Hash:fbc4d45632d13615c6b11a6bc9ef2074ff5b2ac9
Date: 2013-09-29 10:07:56
User: bohwaz
Comment:Amélioration ergonomie power-users : possibilité de modifier le champ date sans passer par le calendrier
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2013-09-29
10:25
[45c60f5552] Fix bug logique (user: bohwaz, tags: trunk)
10:07
[fbc4d45632] Amélioration ergonomie power-users : possibilité de modifier le champ date sans passer par le calendrier (user: bohwaz, tags: trunk)
09:55
[0c974390a6] javascript de test de la sûreté du mot de passe (user: bohwaz, tags: trunk)
Changes

Modified src/www/admin/static/datepickr.js from [ac4e850f0a] to [0eef8662ba].

419
420
421
422
423
424
425
426
427
428
429
430
431
432
433

		for (i = 0; i < inputs.length; i++)
		{
			if (inputs[i].getAttribute('type') == 'date' && (inputs[i].type == 'text' || window.webkitConvertPointFromNodeToPage))
			{
				inputs[i].setAttribute('type', 'text');
				new datepickr(inputs[i], config_fr);
				inputs[i].setAttribute('readonly', 'readonly');
				enabled = true;
			}
		}

		if (enabled)
		{
			var scripts = document.head.getElementsByTagName('script');







|







419
420
421
422
423
424
425
426
427
428
429
430
431
432
433

		for (i = 0; i < inputs.length; i++)
		{
			if (inputs[i].getAttribute('type') == 'date' && (inputs[i].type == 'text' || window.webkitConvertPointFromNodeToPage))
			{
				inputs[i].setAttribute('type', 'text');
				new datepickr(inputs[i], config_fr);
				inputs[i].setAttribute('pattern', '[0-9]{4}-[0-9]{2}-[0-9]{2}');
				enabled = true;
			}
		}

		if (enabled)
		{
			var scripts = document.head.getElementsByTagName('script');