Skip to content

Commit

Permalink
Merge branch 'master' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
mrzapp committed Nov 1, 2017
2 parents d5edc62 + c18c0ce commit 338330b
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 14 deletions.
4 changes: 0 additions & 4 deletions public/js/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -7102,10 +7102,6 @@ var SchemaHelper = function (_SchemaHelperCommon) {
for (var i in resources.schemas) {
var schema = resources.schemas[i];

if (!schema) {
console.log(i);
}

if (schema.id == id) {
if (schema instanceof ContentSchema || schema instanceof FieldSchema) {
return schema;
Expand Down
4 changes: 0 additions & 4 deletions public/js/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -7037,10 +7037,6 @@ var SchemaHelper = function (_SchemaHelperCommon) {
for (var i in resources.schemas) {
var schema = resources.schemas[i];

if (!schema) {
console.log(i);
}

if (schema.id == id) {
if (schema instanceof ContentSchema || schema instanceof FieldSchema) {
return schema;
Expand Down
2 changes: 0 additions & 2 deletions src/Client/Helpers/SchemaHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ class SchemaHelper extends SchemaHelperCommon {
for(let i in resources.schemas) {
let schema = resources.schemas[i];

if(!schema) { console.log(i); }

if(schema.id == id) {
if(schema instanceof ContentSchema || schema instanceof FieldSchema) {
return schema;
Expand Down
2 changes: 0 additions & 2 deletions src/Server/Helpers/ContentHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,6 @@ class ContentHelper extends ContentHelperCommon {
// TODO: Check if allowed at root
if(!content.parentId) { return Promise.resolve(); }

console.log(this.isSchemaAllowedAsChild);

// Check for allowed Schemas
return this.isSchemaAllowedAsChild(project, environment, content.parentId, content.schemaId);
})()
Expand Down
2 changes: 0 additions & 2 deletions src/Server/Models/Content.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ class Content extends ContentCommon {
.then((parents) => {
for(let parentContent of parents) {
let settings = parentContent.settings[key] || {};

console.log(parentContent.id, settings);

if(settings.applyToChildren) {
// Make clone as to avoid interference with inherent values
Expand Down

0 comments on commit 338330b

Please sign in to comment.