v1.0.1: 03.10.2013

- compatible with WebApp 1.4
This commit is contained in:
Christoph Haas 2013-10-03 19:29:42 +00:00
parent 24f2f5d974
commit 8633b93b12
3 changed files with 13 additions and 8 deletions

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}/../"/>

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

View File

@ -32,12 +32,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
}));
}
}
});