Browse Source

v1.0.1: 03.10.2013

- compatible with WebApp 1.4
tags/v2.0.4
Christoph Haas 7 years ago
parent
commit
8633b93b12
3 changed files with 13 additions and 8 deletions
  1. +1
    -1
      build.xml
  2. +3
    -0
      changelog.txt
  3. +9
    -7
      js/plugin.contactimporter.js

+ 1
- 1
build.xml View File

@@ -1,6 +1,6 @@
<project default="all">
<!--############# CONFIGURE ALL PROPERTIES FOR THE REPLACER HERE ################-->
<property name="plugin_version" value="0.9"/>
<property name="plugin_version" value="1.0.4"/>
<!-- EOC -->
<property name="root-folder" value="${basedir}/../"/>


+ 3
- 0
changelog.txt View File

@@ -1,3 +1,6 @@
v1.0.1: 03.10.2013
- compatible with WebApp 1.4
v1.0: 24.6.2013
- import vcards (1 or more vcards in a file)
- chooseable destination addressbook

+ 9
- 7
js/plugin.contactimporter.js View File

@@ -31,12 +31,6 @@ Zarafa.plugins.contactimporter.ImportPlugin = Ext.extend(Zarafa.core.Plugin, {
*/
constructor: function (config) {
config = config || {};
Ext.applyIf(config, {
name : 'contactimporter',
displayName : _('Contactimporter Plugin'),
about : Zarafa.plugins.contactimporter.ABOUT
});
Zarafa.plugins.contactimporter.ImportPlugin.superclass.constructor.call(this, config);
},
@@ -237,6 +231,14 @@ Zarafa.plugins.contactimporter.ImportPlugin = Ext.extend(Zarafa.core.Plugin, {
*############################################################################################################################*/
Zarafa.onReady(function() {
if(container.getSettingsModel().get("zarafa/v1/plugins/contactimporter/enable") === true) {
container.registerPlugin(new Zarafa.plugins.contactimporter.ImportPlugin);
if(container.getSettingsModel().get("zarafa/v1/plugins/calendarimporter/enable") === true) {
container.registerPlugin(new Zarafa.core.PluginMetaData({
name : 'contactimporter',
displayName : _('Contactimporter Plugin'),
about : Zarafa.plugins.contactimporter.ABOUT,
allowUserDisable : true,
pluginConstructor : Zarafa.plugins.contactimporter.ImportPlugin
}));
}
}
});

Loading…
Cancel
Save