use a data attribute instead of 'title' for geo lookup api; fixes failure of cloned forms to work

This commit is contained in:
Brion Vibber
2011-03-10 16:49:24 -08:00
parent e43ee373ae
commit 874804a0c4
3 changed files with 3 additions and 4 deletions

View File

@@ -1017,8 +1017,7 @@ var SN = { // StatusNet
}
var NGW = form.find('.notice_data-geo_wrap');
var geocodeURL = NGW.attr('title');
NGW.removeAttr('title');
var geocodeURL = NGW.attr('data-api');
label
.attr('title', label.text());