mirror of
http://git.whoc.org.uk/git/password-manager.git
synced 2024-11-15 00:09:02 +01:00
Fixed problem with card Cloning
This commit is contained in:
parent
72aa4ecfb6
commit
0e407eb6a6
@ -836,13 +836,15 @@ Clipperz.log("Warning: User.recordWithLabel('" + aLabel + "') is returning more
|
|||||||
var user = this;
|
var user = this;
|
||||||
|
|
||||||
return Clipperz.Async.callbacks("User.cloneRecord", [
|
return Clipperz.Async.callbacks("User.cloneRecord", [
|
||||||
MochiKit.Base.method(this, 'hasPendingChanges'),
|
// MochiKit.Base.method(this, 'hasPendingChanges'),
|
||||||
Clipperz.Async.deferredIf("User has pending changes", [
|
// Clipperz.Async.deferredIf("User has pending changes", [
|
||||||
MochiKit.Async.fail
|
/// MochiKit.Async.fail
|
||||||
], [
|
// ], [
|
||||||
MochiKit.Base.method(user, 'createNewRecord'),
|
// MochiKit.Base.method(user, 'createNewRecord'),
|
||||||
MochiKit.Base.methodcaller('setUpWithRecord', aRecord),
|
// MochiKit.Base.methodcaller('setUpWithRecord', aRecord),
|
||||||
])
|
// ])
|
||||||
|
MochiKit.Base.method(user, 'createNewRecord'),
|
||||||
|
MochiKit.Base.methodcaller('setUpWithRecord', aRecord),
|
||||||
], {trace:false});
|
], {trace:false});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user