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     97   
    98     98   			i.value = '';
    99     99   		})
   100    100   
   101    101   		var b = n.querySelector('.input-list button');
   102    102   		b.onclick = () => {
   103    103   			g.current_list_input = b.parentNode;
   104         -			g.openFrameDialog(b.value);
          104  +			let url = b.value + (b.value.indexOf('?') > 0 ? '&' : '?') + '_dialog';
          105  +			g.openFrameDialog(url);
   105    106   			return false;
   106    107   		};
   107    108   		line.parentNode.appendChild(n);
   108    109   		initLine(n);
   109    110   	};
   110    111   
   111    112   	updateTotals();