javascript - D3,js dialog modal not working any more -
i have google map popup alerts used work reason isn't now. supposed modal , have x close it. ought expand include text. worked before not more.
it has close button instead of x. text overflows size of window.
i copied code working map did not help.
here code:
function prettyalert(p_message, p_title) { p_title = p_title || ""; $(p_message).dialog({ title: p_title, width:400, height:200, resizable: true, modal : true, close: function(ev, ui) { $(this).remove(); } }).css("background", "lightgrey"); }
what have broken code. (it embedded in drupal 7 page.)
i resolved removing various jquery libraries had added drupal configuration , using explicit definitions in code. must have introduced conflicted behaviour of alerts.
Comments
Post a Comment