projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #11337 from WeMoveEU/CRM-21460
[civicrm-core.git]
/
ang
/
crmRouteBinder.js
diff --git
a/ang/crmRouteBinder.js
b/ang/crmRouteBinder.js
index 196fb3eb91a13ae01f3869ae03a548a1892047da..16947a3d79dc0d65e38238789fccc9f2ec1b4332 100644
(file)
--- a/
ang/crmRouteBinder.js
+++ b/
ang/crmRouteBinder.js
@@
-51,6
+51,9
@@
options.format = options.format || 'json';
var fmt = formats[options.format];
options.format = options.format || 'json';
var fmt = formats[options.format];
+ if (options.deep) {
+ fmt.watcher = '$watch';
+ }
if (options.default === undefined) {
options.default = fmt.default;
}
if (options.default === undefined) {
options.default = fmt.default;
}
@@
-85,7
+88,7
@@
activeTimer = null;
ignorable = {};
}, 50);
activeTimer = null;
ignorable = {};
}, 50);
- });
+ }
, options.deep
);
};
return $delegate;
};
return $delegate;