Jump to content

Edit History

PCQUATRO

PCQUATRO

hello

Great useful module.

I noticed a problem with it, it does not display the close button on tablets (Samsung SM-T510), could you make the popup close when you click on any part of it?

Edit: done it by changing the code in rsalert.js to the following:

    var style       = {
        "primary"   : ['<div id="rsalert" class="rsalert-primary"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
        "secondary" : ['<div id="rsalert" class="rsalert-secondary"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
        "success"   : ['<div id="rsalert" class="rsalert-success"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
        "danger"    : ['<div id="rsalert" class="rsalert-danger"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
        "warning"   : ['<div id="rsalert" class="rsalert-warning"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
        "light"     : ['<div id="rsalert" class="rsalert-light"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
        "dark"      : ['<div id="rsalert" class="rsalert-dark"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
        "info"      : ['<div id="rsalert" class="rsalert-info"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
        "unset"     : ['<div id="rsalert" style="','"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
    };

But the x close button still does not show in the tested tablet, it might have something to do with the zooming of the chrome browser, because the x is out of the screen in the far right. It could also be something in this particular store!

Best Regards

PCQUATRO

PCQUATRO

hello

Great useful module.

I noticed a problem with it, it does not display the close button on tablets (Samsung SM-T510), could you make the popup close when you click on any part of it?

Edit: done it by changing the code in rsalert.js to the following:

    var style       = {
        "primary"   : ['<div id="rsalert" class="rsalert-primary"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
        "secondary" : ['<div id="rsalert" class="rsalert-secondary"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
        "success"   : ['<div id="rsalert" class="rsalert-success"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
        "danger"    : ['<div id="rsalert" class="rsalert-danger"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
        "warning"   : ['<div id="rsalert" class="rsalert-warning"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
        "light"     : ['<div id="rsalert" class="rsalert-light"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
        "dark"      : ['<div id="rsalert" class="rsalert-dark"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
        "info"      : ['<div id="rsalert" class="rsalert-info"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
        "unset"     : ['<div id="rsalert" style="','"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
    };

But the x close button still does not show in the tested tablet, it might have something to do with the zooming of the chrome browser, because the x is out of the screen in the far right.

Best Regards

PCQUATRO

PCQUATRO

hello

Great useful module.

I noticed a problem with it, it does not display the close button on tablets (Samsung SM-T510), could you make the popup close when you click on any part of it?

Edit: done it by changing the code in rsalert.js to the following:

    var style       = {
        "primary"   : ['<div id="rsalert" class="rsalert-primary"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
        "secondary" : ['<div id="rsalert" class="rsalert-secondary"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
        "success"   : ['<div id="rsalert" class="rsalert-success"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
        "danger"    : ['<div id="rsalert" class="rsalert-danger"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
        "warning"   : ['<div id="rsalert" class="rsalert-warning"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
        "light"     : ['<div id="rsalert" class="rsalert-light"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
        "dark"      : ['<div id="rsalert" class="rsalert-dark"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
        "info"      : ['<div id="rsalert" class="rsalert-info"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
        "unset"     : ['<div id="rsalert" style="','"><button class="closersalert" style="text-align:center; font-size:0.8rem; width:100%;"><span>','</span></button>','</div>'],
    };

But the x close button still does not show in the tested tablet. 

Best Regards

PCQUATRO

PCQUATRO

hello

Great useful module.

I noticed a problem with it, it does not display the close button on tablets (Samsung SM-T510), could you make the popup close when you click on any part of it?

Best Regards

×
×
  • Create New...