PageRenderTime 82ms CodeModel.GetById 40ms app.highlight 2ms RepoModel.GetById 39ms app.codeStats 0ms

/ajax_select/js/ajax_select.js

http://django-ajax-selects.googlecode.com/
JavaScript | 9 lines | 5 code | 3 blank | 1 comment | 0 complexity | f1a0328f9c946e2610aa707dd4154148 MD5 | raw file
1
2/* requires RelatedObjects.js */
3
4function didAddPopup(win,newId,newRepr) {
5    var name = windowname_to_id(win.name);
6    $("#"+name).trigger('didAddPopup',[html_unescape(newId),html_unescape(newRepr)]);
7    win.close();
8}
9