-
Notifications
You must be signed in to change notification settings - Fork 739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bugfix: allow vertical scroll in sidebar #1026
base: master
Are you sure you want to change the base?
Conversation
fyo/model/doc.ts
Outdated
@@ -344,14 +368,17 @@ export class Doc extends Observable<DocValue | Doc[]> { | |||
value?: DocValue | Doc[] | DocValueMap[] | |||
): boolean { | |||
if (fieldname === 'numberSeries' && !this.notInserted) { | |||
// console.log("cannot set %s, numberSeries inserted", fieldname) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the redundant code
fyo/model/doc.ts
Outdated
return false; | ||
} | ||
|
||
if (value === undefined) { | ||
// console.log("cannot set %s, undefined value", fieldname) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
redundant code
fyo/model/doc.ts
Outdated
return false; | ||
} | ||
|
||
if (this.fieldMap[fieldname] === undefined) { | ||
// console.log("cannot set %s, no fieldMap", fieldname, this.fieldMap) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
redundant code
6c07386
to
8d6284f
Compare
@akshayitzme I updated the code following your review. |
Contains also commits from #1023 which it would conflict with otherwise