lml/ost — pull request #226 by kevinburleigh75 (2013-02-18 21:27:33+00:00)
Title: Fix external links in popup dialogs

This PR relates to issues #219 and #41.

Because the HTML for popup dialogs doesn't exist when the page is loaded, the ready() callback which causes external links to be opened in a new tab/window wasn't able to set the appropriate action on <a> tags.

This PR adds that functionality to refresh_buttons(), which is called everywhere such action is needed.