add missing syncml pref js file, ws
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 1 May 2010 18:53:44 +0000 (14:53 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 1 May 2010 18:53:44 +0000 (14:53 -0400)
horde/js/syncmlprefs.js [new file with mode: 0644]
horde/templates/prefs/activesync.html

diff --git a/horde/js/syncmlprefs.js b/horde/js/syncmlprefs.js
new file mode 100644 (file)
index 0000000..1a8a8ac
--- /dev/null
@@ -0,0 +1,15 @@
+/**
+ * Provides the javascript for managing syncml sessions.
+ *
+ * See the enclosed file COPYING for license information (LGPL). If you
+ * did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
+ */
+var HordeSyncMLPrefs = {
+
+    removeAnchor: function(device, db) {
+        $('removedevice').setValue(device);
+        $('removedb').setValue(db);
+        document.forms.prefs.actionID = 'update_special';
+        document.forms.prefs.submit();
+    }
+}
\ No newline at end of file
index 364475c..e2122f1 100644 (file)
@@ -10,7 +10,7 @@
 <input type="hidden" name="wipeid" id="wipeid" />
 <table class="horde-table striped">
  <tr>
-     <th><gettext></gettext></th>
+     <th></th>
      <th><gettext>Device</gettext></th>
      <th><gettext>Last Sync Time</gettext></th>
      <th><gettext>Status</gettext></th>