diff --git a/appinfo/database.xml b/appinfo/database.xml
index fa7ddfcb..5a5eb0ff 100644
--- a/appinfo/database.xml
+++ b/appinfo/database.xml
@@ -56,6 +56,49 @@
+
+ *dbprefix*office_member
+
+
+ member
+ integer
+ 1
+ true
+ 1
+ true
+ 4
+ Unique per user and session
+
+
+ es_id
+ text
+ true
+ 64
+ Related editing session id
+
+
+ displayname
+ text
+
+ 64
+
+
+ color
+ text
+
+ 32
+
+
+ last_activity
+ integer
+
+ true
+ true
+ 4
+
+
+
+
*dbprefix*office_op
@@ -78,9 +121,11 @@
member
- text
- 128
+ integer
+ 1
true
+ true
+ 4
User and time specific
diff --git a/appinfo/version b/appinfo/version
index e4c0d46e..ea2303bc 100755
--- a/appinfo/version
+++ b/appinfo/version
@@ -1 +1 @@
-1.0.3
\ No newline at end of file
+0.5
\ No newline at end of file
diff --git a/js/office.js b/js/office.js
index b868048d..bcee1275 100644
--- a/js/office.js
+++ b/js/office.js
@@ -112,7 +112,7 @@ var officeMain = {
$(document.body).append('');
}
$('').appendTo('#allsessions').click(
- function(event){
+ function(event){
event.preventDefault();
officeMain.onView(s);
}
@@ -142,6 +142,6 @@ $(document).ready(function() {
officeMain.registerSession($(this).attr('data-file'));
});
$('#odf_close').live('click', officeMain.onClose);
- OC.addScript('office', 'dojo-amalgamation', officeMain.onStartup);
$('#session-list').click(officeMain.showSessions);
+ OC.addScript('office', 'dojo-amalgamation', officeMain.onStartup);
});