Modal popup bugs and anomolies

unfortunately that kind of depends on which UI framework you are using :D Yes for bootstrap no for UIKit (it uses uk-modal). We have to have those classes to get the modal/window styling so yeah it is confusing :)
OK, I get it now. So one last question...
Regardless the framework, will there still always be the div.modal-header .handlelabel? (Is that a Fabrik thing or a framework thing?)

I'm just wondering if my latest fix for assuring the .handlelabel is not blank will work in all cases. (Because, as I've discovered, that is what stops draggable from working when you use an 'ajaxified' custom link in a list column.)

What I'm about to do is... put in another PR with this latest code (and remove the remark from the if condition for draggable so you don't have to do it)
JavaScript:
/* Assure popup has a (draggable) .handlelabel that is not blank */
if (jQuery('div.modal-header .handlelabel').text().length == 0) {
    if (jQuery('div.itemContentPadder').context.title.length) {
        jQuery('div.modal-header .handlelabel').text(jQuery('div.itemContentPadder').context.title);
    } else {
        jQuery('div.modal-header .handlelabel').html(" ");       
    }
}
Are you OK with that?
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top