diff options
author | portix <none@none> | 2013-01-10 13:26:55 +0100 |
---|---|---|
committer | portix <none@none> | 2013-01-10 13:26:55 +0100 |
commit | 78ec4db2e9c4768fbed3c67f5871798ce0135161 (patch) | |
tree | 87fa6f0a617ecd624a9378167478a7b98ee348ab /scripts | |
parent | 1d9ea75c608825e3c3084376194754a3b389003c (diff) | |
download | dwb-78ec4db2e9c4768fbed3c67f5871798ce0135161.zip |
Return connect-callback result in connectBlocked
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/dwb.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/lib/dwb.js b/scripts/lib/dwb.js index dd7ad2f1..a4e61c1c 100644 --- a/scripts/lib/dwb.js +++ b/scripts/lib/dwb.js @@ -171,8 +171,9 @@ { var sig = this.connect(name, (function() { this.blockSignal(sig); - callback.apply(null, arguments); + var result = callback.apply(null, arguments); this.unblockSignal(sig); + return result; }).bind(this)); return sig; } |