Injectable modals

Seyhunak, 

pls see my issue on your repository

https://github.com/seyhunak/twitter-bootstrap-rails/issues/728
(no one has answered to my question, so....)

i've forked and modified the code, 
going to submit you my modded version, 

i'm not a real expert, but this version is working fine for me, 
the modal now responds to width selection (as specified on bootstrap docs)
every part of the modal has an id (with various 'static' suffixes) so different elements may be addressed in jscript for dinamically injecting html code into them
the modal body may have a style also (so you can control the modal height!!

pls CAREFULLY VERIFY IT...
and feel free to revise and correct if needed!!

i haven't modified relative docs (readme.md) nor other files because i don't exactly know how they work on rails gem packaging.... i've limited my work to the part of code i really know!!

i'll be available for  every question you may have for me...
hoping to be helpful to the project...

PS: i think you may close the issue #728 as solved if you think!!!

kind regards, 
francesco

done...

pls note: if i add the 'hide' class too....
when i fire to toggle the modal as visible.... it won't show up, only 
the dimmer div will appear....
no modal is visible, so i can't toggle it back using the buttons or 
pressing esc key...

if i remove the 'hide' class, all seems to work properly on my ror app....

so....
i'm going to push this version to the repo,
going to investigate my navbar issue as described some posts ago....

many thanks for you time,
regards,

francesco


On 07/30/2014 09:42 AM, toadkicker wrote:
> bootstrap-modal modal hide fade