aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-02-23 19:07:01 -0800
committerzotlabs <mike@macgirvin.com>2017-02-23 19:07:01 -0800
commitb1ff5367e7e853d7e0e24c91aecc3a8f80d0ba87 (patch)
tree603c8e4271337b80cbb866dbe7106e4b63b1ea0d /view/js
parent96fdb88690fcb572b5bc4948a7df71b3c257a97d (diff)
downloadvolse-hubzilla-b1ff5367e7e853d7e0e24c91aecc3a8f80d0ba87.tar.gz
volse-hubzilla-b1ff5367e7e853d7e0e24c91aecc3a8f80d0ba87.tar.bz2
volse-hubzilla-b1ff5367e7e853d7e0e24c91aecc3a8f80d0ba87.zip
more work on profile vcards - still a lot of work to go
Diffstat (limited to 'view/js')
-rw-r--r--view/js/mod_connedit.js2
-rw-r--r--view/js/mod_profiles.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/view/js/mod_connedit.js b/view/js/mod_connedit.js
index 4739c490c..7100e0d07 100644
--- a/view/js/mod_connedit.js
+++ b/view/js/mod_connedit.js
@@ -82,7 +82,7 @@ $(document).ready(function() {
function doRemove() {
var what = $(this).data('remove');
var element = $(this).parents('div.form-' + what);
- var where = '#abook_edit_form' + $(this).data('id');
+ var where = '#abook-edit-form' + $(this).data('id');
if(what === 'vcard-org' || what === 'vcard-title' || what === 'vcard-note') {
$(where + ' .add-' + what).show()
diff --git a/view/js/mod_profiles.js b/view/js/mod_profiles.js
index acc9f9953..784f64458 100644
--- a/view/js/mod_profiles.js
+++ b/view/js/mod_profiles.js
@@ -38,7 +38,7 @@ $(document).ready(function() {
var what = $(this).data('add');
var id = $(this).data('id');
var element = '#template-form-' + what;
- var where = '#abook-edit-form';
+ var where = '#profile-edit-form';
$(element + ' .remove-field').attr('data-id', id)
@@ -58,7 +58,7 @@ $(document).ready(function() {
function doRemove() {
var what = $(this).data('remove');
var element = $(this).parents('div.form-' + what);
- var where = '#abook_edit_form' + $(this).data('id');
+ var where = '#profile-edit-form' + $(this).data('id');
if(what === 'vcard-org' || what === 'vcard-title' || what === 'vcard-note') {
$(where + ' .add-' + what).show()