Overview
Comment:Correction prévisualisation couleurs interface
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA1: b74ed0e55261697156ec6cf0abf7ec20321aa95e
User & Date: bohwaz on 2017-09-20 01:46:15
Other Links: manifest | tags
Context
2017-09-20
06:21
Autorise une valeur décimale dans les champs à choix multiple, utile pour l'import check-in: 8b07624fcd user: bohwaz tags: dev
01:46
Correction prévisualisation couleurs interface check-in: b74ed0e552 user: bohwaz tags: dev
01:22
Amélioration de la navigation sur mobile check-in: 2d2abb05f1 user: bohwaz tags: dev
Changes

Modified src/www/admin/static/scripts/color_helper.js from [6b9d401c67] to [1f3037b2de].

54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
			}

			ctx.putImageData(imgData, 0, 0);

			var i = canvas.toDataURL('image/png');

			// Prévisualisation
			document.querySelector('html').style.backgroundImage = 'url("' + i + '")';
			document.querySelector('.menu').style.backgroundImage = 'url("' + i + '")';

			document.getElementById('f_image_fond').value = i.substr(i.indexOf(',')+1);

			delete canvas2;
			delete canvas;
			delete ctx;
		};







|
|







54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
			}

			ctx.putImageData(imgData, 0, 0);

			var i = canvas.toDataURL('image/png');

			// Prévisualisation
			document.querySelector('body').style.backgroundImage = 'url("' + i + '")';
			document.querySelector('.header .menu').style.backgroundImage = 'url("' + i + '")';

			document.getElementById('f_image_fond').value = i.substr(i.indexOf(',')+1);

			delete canvas2;
			delete canvas;
			delete ctx;
		};