Remove lag when creating a pad from the pad creation screen

pull/1/head
yflory 7 years ago
parent 22f130d948
commit 329fd61bb1

@ -1764,6 +1764,7 @@ define([
// Create the pad // Create the pad
var create = function (template) { var create = function (template) {
$creationContainer.remove();
// Type of pad // Type of pad
var ownedVal = parseInt($('input[name="cp-creation-owned"]:checked').val()); var ownedVal = parseInt($('input[name="cp-creation-owned"]:checked').val());
// Life time // Life time
@ -1784,7 +1785,6 @@ define([
expire: expireVal, expire: expireVal,
template: template template: template
}, function () { }, function () {
$creationContainer.remove();
cb(); cb();
}); });
}; };

Loading…
Cancel
Save