Posts: 91
Threads: 32
Joined: May 2014
Reputation:
0
Hi,
using latest github version of corebos
under the vendor more information tab , any of the related list (products, ...) does not load
it seems the tbl_Vendors_Products is undefined in the loadRelatedListBlock function
rgds
Posts: 91
Threads: 32
Joined: May 2014
Reputation:
0
have changed it in relateslistcontents.tpl
function loadRelatedListBlock
var responseData = trim(response.responseText);
// MSL : error on vendors
var n = target.indexOf("_");
var res = target.substring(n+1, 100);
var p = res.indexOf("_");
var module = target.substring(n+1, n+p+1);
if (module == 'Vendors') {
document.getElementById(target).innerHTML = responseData;
} else {
target_element.update(responseData);
}
------------
seems the target_element.update does not work on the vendors module, don't understand why
Posts: 3,565
Threads: 36
Joined: Apr 2014
Reputation:
49
Sorry for that. This was introduced when I developed the new address capture selection in the vendors popup screen.
I didn't test it enough and really didn't think that part of the code would be affected.
I think I have fixed it, by using the default jQuery library instead of a more up to date version.
The fix is here:
<!-- m --><a class="postlink" href="https://github.com/tsolucio/corebos/commit/6bda816ba2c4fa96e5726fc3b615db9ad5a2f43b">https://github.com/tsolucio/corebos/com ... 9ad5a2f43b</a><!-- m -->
Thanks for the catch and informing.
BTW, thanks to this issue I fixed another minor bug <!-- s:-) --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
<!-- m --><a class="postlink" href="https://github.com/tsolucio/corebos/commit/ea2b5c451d69b9d5a168be2f59e7b53803d87a4e">https://github.com/tsolucio/corebos/com ... 3803d87a4e</a><!-- m -->
Joe
TSolucio
Posts: 91
Threads: 32
Joined: May 2014
Reputation:
0
Hi,
Thanks ,
it works
thanks again