Thanks. It certainly looks like that code makes the change I'm thinking of. 
However, I don't have a web2py_bootstrap.js in my application's static 
folder. I am a few versions behind the latest, so maybe this file is a 
recent addition, and another script used to perform this function in older 
versions? I can't check what web2py version I'm running right now, but will 
check later and post another update,
On Friday, 1 March 2013 08:42:05 UTC, Niphlod wrote:
>
> it's pobably due to this
>
>
> https://github.com/web2py/web2py/blob/master/applications/welcome/static/js/web2py_bootstrap.js#L27
>
> On Thursday, February 28, 2013 11:29:19 PM UTC+1, Anthony wrote:
>>
>> Please show some code.
>>
>> On Thursday, February 28, 2013 5:15:06 PM UTC-5, RHC wrote:
>>>
>>> I have a view which consists of several web2py compnents. I load these 
>>> components initially using the ajax=False option so they get loaded in with 
>>> the rest of the page, they then get reloaded via an ajax trapped submit 
>>> button within that component. The only problem is that the buttons start 
>>> off as bootstrap styled buttons (using the .btn class as far as I can see), 
>>> but the reloaded component then has normal styled buttons which are missing 
>>> the .btn class.
>>>
>>> I have not been able to find out what process adds the .btn class to 
>>> these button so I can ensure the reloaded component ends up with the same 
>>> class and styling. Does anyone have any idea how and when the .btn class 
>>> gets added and the best way to re-run this process for an ajax reloaded 
>>> component?
>>>
>>>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to