Overview
SHA1:b74ed0e55261697156ec6cf0abf7ec20321aa95e
Date: 2017-09-20 01:46:15
User: bohwaz
Comment:Correction prévisualisation couleurs interface
Timelines: family | ancestors | descendants | both | dev
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2017-09-20
06:21
[8b07624fcd] Autorise une valeur décimale dans les champs à choix multiple, utile pour l'import (user: bohwaz, tags: dev)
01:46
[b74ed0e552] Correction prévisualisation couleurs interface (user: bohwaz, tags: dev)
01:22
[2d2abb05f1] Amélioration de la navigation sur mobile (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;
		};