|
|
@ -552,6 +552,8 @@ define([
|
|
|
|
button.click(function () { $input.click(); });
|
|
|
|
button.click(function () { $input.click(); });
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case 'importtemplate':
|
|
|
|
case 'importtemplate':
|
|
|
|
|
|
|
|
if (!AppConfig.enableTemplates) { return; }
|
|
|
|
|
|
|
|
if (!common.isLoggedIn()) { return; }
|
|
|
|
button = $('<button>', {
|
|
|
|
button = $('<button>', {
|
|
|
|
'class': 'fa fa-upload cp-toolbar-icon-import',
|
|
|
|
'class': 'fa fa-upload cp-toolbar-icon-import',
|
|
|
|
title: Messages.template_import,
|
|
|
|
title: Messages.template_import,
|
|
|
|