Skip to content

Commit

Permalink
Merge pull request #19 from ezsystems/ezs-874-fix-setting-attrs-to-in…
Browse files Browse the repository at this point in the history
…correct-service

EZS-874: Cannot read property error when switching from dashboard to Studio
  • Loading branch information
lserwatka authored Aug 2, 2016
2 parents 723d935 + 593a147 commit 6fbb987
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ YUI.add('cof-createcontent-universaldiscoveryserviceplugin', function (Y) {
setNextViewServiceParameters: function (service) {
var host = this.get('host');

if (host.get('parentLocation')) {
if (host.get('parentLocation') && service instanceof Y.eZ.ContentCreateViewService) {
service.setAttrs({
parentLocation: host.get('parentLocation'),
parentContent: host.get('contentType'),
Expand Down

0 comments on commit 6fbb987

Please sign in to comment.