1fmpia
Last Updated: February 11, 2017
·
19.36K
· ajeliuc

Bootstrap modal (refresh)

Change line 205 to be like this

if (!data || options.refresh) $this.data('modal', (data = new Modal(this, options)))

Then when you call modal you have refresh option

$('#my-modal').modal({
    remote: url,
    refresh: true
});

And it will refresh modal data each time you click new item button

Say Thanks
Respond

3 Responses
Add your response

16107
1e8273757a9c9b8b12fc3c47a0b5815a

wouldn't this result to a memory leak?

over 1 year ago ·
28600

please i can have a exemple ?

9 months ago ·
28601

please a write in french because my english is very very bad

alors je commence, j'aimerais savoir pour des personnes qui utilisent la version mimifier de bootstrap tel que bootstrap.min.js, comment faire pour retrouver la ligne demander ?

9 months ago ·