Hello,
while debugging anoter problem when loading forms in thickbox, I have noticed that it is caused by Drupal.behaviors.verticalTabsReload.
It complains about some undefined legth in the $.each line. Interestingly the problem does not arise for the admin user.
Can somebody familiar with jQuery quickly guide me, how to implement some validity check?
Drupal.behaviors.verticalTabsReload = function() {
$.each(Drupal.settings.verticalTabs, function(k, v) {
if (v.callback && Drupal.verticalTabs[v.callback]) {
$('a.vertical-tabs-list-' + k + ' span.summary').html(Drupal.verticalTabs[v.callback].apply(this, v.args));
}
});
}
Comments
Comment #1
digi24 commentedAfter further investigation, I think I have identified the problem: The reload behaviour gets executed even when no tabs are present (this explains why it worked for uid=1, who had more rights).
Comment #2
DeFr commentedThe patch in #488746: Compatibilty with Popups 2 should fix this.
Comment #3
digi24 commentedThank you very much, problem solved.