NT5.PR11
When adding an 'Other' button to a NetWebBrowse, sometimes the class is not being applied. I have some browses where it works and others where it does not. Below is an example of template generated code where the nt-small-button shows. But, the web browser source does not have the class applied to the button.
---------- Clarion Template Generated Code -----------
packet = clip(packet) & p_web.CreateButton('submit','BusinessNotesButton','',Choose('' <> '',p_web.combine(p_web.site.style.BrowseOtherButtonWithText,'nt-small-button'),p_web.combine(p_web.site.style.BrowseOtherButtonWithOutText,)),loc:formname,p_web._MakeURL(clip('browsebusinessnotes.html') & '&' & p_web._noColon('BUS:BusinessID')&'='& p_web.escape(BUS:BusinessID) & ''),clip('_self'),,,loc:disabled,'',,,,'view notes',1,'note')
------------ web browser view source -----------------------------
<div id="div1756640797_div" class="adiv"><button type="button" name="BusinessNotesButton" id="BusinessNotesButtonPRLT" value="" onclick="document.BrowseBusiness_frm.action='browsebusinessnotes.html?BUS__BusinessID=14&PressedButton=BusinessNotesButton'; document.BrowseBusiness_frm.target='_self'; dsb(BrowseBusiness_frm,BusinessNotesButton,'BusinessNotesButton','BUS__BusinessID','14');" title="view notes" > </button>
<script type="text/javascript">jQuery(function() {jQuery("#BusinessNotesButtonPRLT").button({text: false,icons: {primary:'ui-icon-note'}});});</script>
</div>
[attachment deleted by admin]