Bug 37059: Fix insert button in notices and slips
This patch fixes the insert button in notices and slips. The container id needed to be appened with '_panel' To Test: 1. Edit any notice or slip and try to use the insert button 2. Nothing happens 3. Apply patch and refresh the browser 4. Edit any notice or slip and use the insert button 5. Confirm the parameters are inserted into the tempalte as expected. Signed-off-by: Eric Garcia <cubingguy714@gmail.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
b0b168b6f8
commit
5c5a7d42e6
|
|
@ -235,7 +235,7 @@ $(document).ready(function() {
|
|||
});
|
||||
|
||||
function insertValueQuery(containerid) {
|
||||
var fieldset = $("#" + containerid);
|
||||
var fieldset = $("#" + containerid + "_panel");
|
||||
var myQuery = $(fieldset).find('textarea[name="content"]');
|
||||
var myListBox = $(fieldset).find('select[name="SQLfieldname"]');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue