This topic is locked
[SOLVED]

 How to change the colors buttons in dialog API ?

3/22/2021 1:08:05 PM
PHPRunner General questions
Myr0n author

I would like to change the colors buttons in dialog API from blue (btn-default) to red (btn-danger), I tried using pageObj.getItemButton and pageObj.findItem

Somebody know how to do it?



Myr0n author 3/22/2021

Found it,

$("#custombutton_button_cancel").removeClass('btn btn-default').addClass('btn btn-danger');


Thank you