Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
vendors module : related list does not load
#1
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
Reply
#2
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
Reply
#3
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
Reply
#4
Hi,

Thanks ,
it works


thanks again
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)