v1.0.1: 03.10.2013
- compatible with WebApp 1.4
This commit is contained in:
parent
24f2f5d974
commit
8633b93b12
@ -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}/../"/>
|
||||
|
@ -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
|
@ -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…
Reference in New Issue
Block a user