Skip to main content
Question

Troubleshooting IOL Hide function

  • Jul 25, 2018 6:23 PM UTC
  • 0 replies
  • 172 views

I'm trying to use the IOL function to get rid of all 'Save & close' and 'Cancel' button in edit mode -- it works, but a residual blue button remains(?) 
I'm using 

$('#saveButton').hide();
$('#saveMenu').hide();
$('#cancelButton').hide();  

 functions to hide the other buttons.

Does anyone have any clue how I can get rid of this blue button? 


This topic has been closed for replies.

  • Author
  • Qrew Corporal
  • Jul 25, 2018 6:35 PM UTC
never mind. got it. 

  • Author
  • Qrew Corporal
  • Jul 25, 2018 6:41 PM UTC
no, it is still popping up. need help.

  • Qrew Corporal
  • Jul 25, 2018 7:23 PM UTC
#footerSaveButton, #footerCancelButton

  • Author
  • Qrew Corporal
  • Aug 8, 2018 8:12 PM UTC
No go. Still not consistently hiding the button. I'm testing on Chrome. Anyone? 

  • Qrew Corporal
  • Aug 10, 2018 4:46 PM UTC
Learn to use the inspector in Chrome Dev tools to identify the elements you want to manipulate.
$("span.Icon.DownArrowWhite").hide()


  • Author
  • Qrew Corporal
  • Sep 27, 2018 12:41 AM UTC

I�ve been doing my best to locate the correct id using the developer tools, but this fella just keeps popping up.




(function(){

 $('img[qbu=module]').remove();

 $('img[qbu=module]').hide();

var querystring=document.location.search;

 if(/a=er/i.test(querystring)) {                

                $(".IconOnly, #saveButton").hide();

                $(".IconOnly, #saveMenu").hide();

                $(".IconOnly, #cancelButton").hide();

                $(".IconOnly, #footerSaveButton").hide();

                $(".IconOnly, #footerCancelButton").hide();

                $("span.Icon.DownArrowWhite").hide()

                }

 

else if(/a=dr/i.test(querystring)) {

              ... and so on