Commit 14a2e156 by Saliya Randunu

fix alert popup size

parent 77754721
......@@ -39,6 +39,7 @@
<script type="text/javascript">
var Popup = null;
var PopupCoupon = null;
var PopupAlert = null;
$(document).ready(function()
{
setTabingSideBarHeight();
......@@ -57,6 +58,12 @@
width : 500, height : 400
});
PopupAlert = new jBox('Modal', {
id : "change-plan",
overlay : true,
width : 350, height : 300
});
var isinvliadCoupon = getParameterByName("invalidcoupon");
if (isinvliadCoupon==='true'){
......@@ -98,8 +105,8 @@
if($(this).prop("tagName") === "A"){
$(this).prop("onclick", null).off("click");
$(this).css("cursor","arrow").click(function(){
PopupCoupon.setContent($("#force-to-choose-popup"));
PopupCoupon.open();
PopupAlert.setContent($("#force-to-choose-popup"));
PopupAlert.open();
return false;
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment