Following lines of code causes the a Form Submit button to get set to display:none is css if once the page is loaded, scrolling down and then scroll back up to pixel zero.
Drupal 6.24 is being used.
Commenting the following line fixes the problem. Not sure what side effect commenitng line 7-19 will cause in rubick.js
/* $('div.form:has(div.column-main div.buttons):not(.rubik-processed)').each(function() {
var form = $(this);
var offset = $('div.column-side div.buttons', form).height() + $('div.column-side div.buttons', form).offset().top;
$(window).scroll(function () {
if ($(this).scrollTop() > offset) {
$('div.column-main div.buttons', form).show();
}
else {
$('div.column-main div.buttons', form).hide();
}
});
form.addClass('rubik-processed');
});
*/
Comments
Comment #1
aramboyajyan CreditAttribution: aramboyajyan commentedAll old and outdated
6.x
issues are being closed.Maintainer support will be provided only for major / blocking issues.
If you feel like this issue should be re-opened, feel free to do so.
Thanks!