projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b967a2d
)
Autocomplete.js - Cleanup
author
Coleman Watts
<coleman@civicrm.org>
Thu, 12 Dec 2013 04:13:14 +0000
(20:13 -0800)
committer
Coleman Watts
<coleman@civicrm.org>
Mon, 6 Jan 2014 19:06:47 +0000
(11:06 -0800)
js/AutoComplete.js
patch
|
blob
|
blame
|
history
diff --git
a/js/AutoComplete.js
b/js/AutoComplete.js
index c8d186b909cf1b8e9f12a32adec615d7ab252726..8304d0e047cdb2055781dfeb834b93d1459c4cb3 100644
(file)
--- a/
js/AutoComplete.js
+++ b/
js/AutoComplete.js
@@
-99,8
+99,7
@@
cj(function ($) {
}
else{
$('#crm-contact-toggle-text-' + id_field).text(hidden_text);
- $('#' + id_field).val('');
- $('#' + name_field).val('');
+ $('#' + id_field + ', #' + name_field).val('');
CRM.api('profile', 'get', {'profile_id' : profileids}, {
success: function(result) {
$.each(result.values, function (id, values){