resolve/refinerycms — pull request #1523 by robyurkowski (2012-03-28 04:58:37+00:00)
Title: Clean up image_dialog and better encapsulate it.

This is just a basic JS cleanup for one small subsection of admin.js.erb. The functionality should be further rewritten to make use of prototyping and inheritance amongst dialogs, but that's beyond the scope of this guy right now.