Overview
Comment:Fix add _dialog to dynamic input-list buttons
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA3-256: ef83f56682cb61f0db66a8e14a81ae702e9adf96ade130d83e07d0f0890deb33
User & Date: bohwaz on 2021-04-06 17:05:21
Other Links: branch diff | manifest | tags
Context
2021-04-06
19:12
Improve account selector search check-in: 605e25ef2f user: bohwaz tags: dev
17:05
Fix add _dialog to dynamic input-list buttons check-in: ef83f56682 user: bohwaz tags: dev
17:02
Fix default collation check-in: cd7ff15784 user: bohwaz tags: dev
Changes

Modified src/www/admin/static/scripts/accounting.js from [f16f1d5eef] to [2c31b52794].

97
98
99
100
101
102
103

104
105
106
107
108
109
110
111

			i.value = '';
		})

		var b = n.querySelector('.input-list button');
		b.onclick = () => {
			g.current_list_input = b.parentNode;

			g.openFrameDialog(b.value);
			return false;
		};
		line.parentNode.appendChild(n);
		initLine(n);
	};

	updateTotals();







>
|







97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112

			i.value = '';
		})

		var b = n.querySelector('.input-list button');
		b.onclick = () => {
			g.current_list_input = b.parentNode;
			let url = b.value + (b.value.indexOf('?') > 0 ? '&' : '?') + '_dialog';
			g.openFrameDialog(url);
			return false;
		};
		line.parentNode.appendChild(n);
		initLine(n);
	};

	updateTotals();