Remove lag when creating a pad from the pad creation screen
This commit is contained in:
@@ -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();
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user