summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorportix <none@none>2013-01-10 13:26:55 +0100
committerportix <none@none>2013-01-10 13:26:55 +0100
commit78ec4db2e9c4768fbed3c67f5871798ce0135161 (patch)
tree87fa6f0a617ecd624a9378167478a7b98ee348ab /scripts
parent1d9ea75c608825e3c3084376194754a3b389003c (diff)
downloaddwb-78ec4db2e9c4768fbed3c67f5871798ce0135161.zip
Return connect-callback result in connectBlocked
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/dwb.js3
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;
}