diff --git a/customize.dist/src/less2/include/creation.less b/customize.dist/src/less2/include/creation.less
index 6d7e6462c..c07fcc849 100644
--- a/customize.dist/src/less2/include/creation.less
+++ b/customize.dist/src/less2/include/creation.less
@@ -40,13 +40,7 @@
button {
.tools_unselectable();
padding: 15px;
- //background: @creation-button;
- background: spin(@colortheme_loading-bg, 180);
- background: #60ff6b;
background: #30b239;
- color: @colortheme_loading-color;
- color: spin(#60ff6b, 180);
- color: #000;
color: #FFF;
font-weight: bold;
margin: 3px 10px;
diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js
index b1e0d0c52..ba7779eca 100644
--- a/www/common/common-ui-elements.js
+++ b/www/common/common-ui-elements.js
@@ -1823,11 +1823,6 @@ define([
var $creationContainer = $('
', { id: 'cp-creation-container' }).appendTo($body);
var $creation = $('
', { id: 'cp-creation', tabindex: 1 }).appendTo($creationContainer);
- var setHTML = function (e, html) {
- e.innerHTML = html;
- return e;
- };
-
// Title
var colorClass = 'cp-icon-color-'+type;
$creation.append(h('h1.cp-creation-title.'+colorClass, Messages['button_new'+type]));
@@ -1948,7 +1943,7 @@ define([
}).appendTo($container);
console.log(obj.id);
$span.data('id', obj.id);
- if (idx === 0) { $span.addClass('cp-creation-template-selected') }
+ if (idx === 0) { $span.addClass('cp-creation-template-selected'); }
$span.append(obj.icon || UI.getFileIcon({type: type}));
$('', {'class': 'cp-creation-template-element-name'}).text(name)
.appendTo($span);
@@ -2009,7 +2004,7 @@ define([
UIElements.setExpirationValue(cfg.expire, $creation);
// Create the pad
- var getFormValues = function (template) {
+ var getFormValues = function () {
// Type of pad
var ownedVal = $('#cp-creation-owned').is(':checked') ? 1 : 0;
// Life time
@@ -2026,12 +2021,12 @@ define([
}
var $template = $creation.find('.cp-creation-template-selected');
- var template = $template.data('id') || undefined;
+ var templateId = $template.data('id') || undefined;
return {
owned: ownedVal,
expire: expireVal,
- templateId: template
+ templateId: templateId
};
};
var create = function () {