How to hide all the Ui actions in a custom view

Roshini
Giga Guru

I have a Ui action name "on hold", this Ui action will be calling a particular view  "on_hold", but this view is having all Ui actions. But I don't want to dispaly  any Ui actions/Ui buttons in the popup view. Caqn someone hel

1 ACCEPTED SOLUTION

Roshini
Giga Guru

was able to achieve it with below code

var items = $$('BUTTON').each(function(item) {

   
            if (item.innerHTML.indexOf('Update') == -1) {              
                item.hide();
            }

View solution in original post

2 REPLIES 2

Anurag Tripathi
Mega Patron
Mega Patron

Roshini
Giga Guru

was able to achieve it with below code

var items = $$('BUTTON').each(function(item) {

   
            if (item.innerHTML.indexOf('Update') == -1) {              
                item.hide();
            }