aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/abook_edit.tpl10
-rw-r--r--view/tpl/smarty3/abook_edit.tpl10
2 files changed, 10 insertions, 10 deletions
diff --git a/view/tpl/abook_edit.tpl b/view/tpl/abook_edit.tpl
index 6dffec798..ba1baf9ee 100644
--- a/view/tpl/abook_edit.tpl
+++ b/view/tpl/abook_edit.tpl
@@ -46,11 +46,11 @@ $slide
<b>$quick</b>
<ul>
{{ if $self }}
-<li><a href="#" onclick="connectForum(); return false;">$forum</a></li>
+<li><a href="#" onclick="connectForum(); $('#abook-edit-form').submit();">$forum</a></li>
{{ endif }}
-<li><a href="#" onclick="connectFullShare(); return false;">$full</a></li>
-<li><a href="#" onclick="connectCautiousShare(); return false;">$cautious</a></li>
-<li><a href="#" onclick="connectFollowOnly(); return false;">$follow</a></li>
+<li><span class="fakelink" onclick="connectFullShare(); $('#abook-edit-form').submit();">$full</span></li>
+<li><a href="#" onclick="connectCautiousShare(); $('#abook-edit-form').submit();">$cautious</a></li>
+<li><a href="#" onclick="connectFollowOnly(); $('#abook-edit-form').submit();">$follow</a></li>
</ul>
<div id="abook-advanced" class="fakelink" onclick="openClose('abook-advanced-panel');">$advanced</div>
@@ -67,7 +67,7 @@ $slide
</div>
-<input class="contact-edit-submit" type="submit" name="submit" value="$submit" />
+<input class="contact-edit-submit" type="submit" name="done" value="$submit" />
</form>
</div>
diff --git a/view/tpl/smarty3/abook_edit.tpl b/view/tpl/smarty3/abook_edit.tpl
index 2e471e4cc..a27b556f2 100644
--- a/view/tpl/smarty3/abook_edit.tpl
+++ b/view/tpl/smarty3/abook_edit.tpl
@@ -51,11 +51,11 @@
<b>{{$quick}}</b>
<ul>
{{if $self}}
-<li><a href="#" onclick="connectForum(); return false;">{{$forum}}</a></li>
+<li><a href="#" onclick="connectForum(); $('#abook-edit-form').submit();">{{$forum}}</a></li>
{{/if}}
-<li><a href="#" onclick="connectFullShare(); return false;">{{$full}}</a></li>
-<li><a href="#" onclick="connectCautiousShare(); return false;">{{$cautious}}</a></li>
-<li><a href="#" onclick="connectFollowOnly(); return false;">{{$follow}}</a></li>
+<li><span class="fakelink" onclick="connectFullShare(); $('#abook-edit-form').submit();">{{$full}}</span></li>
+<li><a href="#" onclick="connectCautiousShare(); $('#abook-edit-form').submit();">{{$cautious}}</a></li>
+<li><a href="#" onclick="connectFollowOnly(); $('#abook-edit-form').submit();">{{$follow}}</a></li>
</ul>
<div id="abook-advanced" class="fakelink" onclick="openClose('abook-advanced-panel');">{{$advanced}}</div>
@@ -72,7 +72,7 @@
</div>
-<input class="contact-edit-submit" type="submit" name="submit" value="{{$submit}}" />
+<input class="contact-edit-submit" type="submit" name="done" value="{{$submit}}" />
</form>
</div>