Skip to content
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

exception raised on FF38 (maybe more) #40

Open
blackbadgerltd opened this issue Jul 2, 2015 · 1 comment
Open

exception raised on FF38 (maybe more) #40

blackbadgerltd opened this issue Jul 2, 2015 · 1 comment

Comments

@blackbadgerltd
Copy link

The following exception is raised (even on the demo) when loading the page

13:47:51.732 Exception { message: "", result: 2147500037, name: "NS_ERROR_FAILURE", filename: "http://localhost:4000/src/angular-w…", lineNumber: 322, columnNumber: 0, inner: null, data: null, stack: "link/scope.format@http://localhost:…" } "

"1 angular.js:9784:17
consoleLog/<() angular.js:9784
$ExceptionHandlerProvider/this.$get</<() angular.js:7219
nodeLinkFn() angular.js:6585
compositeLinkFn() angular.js:5985
nodeLinkFn() angular.js:6576
compositeLinkFn() angular.js:5989
nodeLinkFn() angular.js:6576
compositeLinkFn() angular.js:5989
compositeLinkFn() angular.js:5992
publicLinkFn() angular.js:5894
bootstrap/doBootstrap/</<() angular.js:1384
$RootScopeProvider/this.$get</Scope.prototype.$eval() angular.js:12418
$RootScopeProvider/this.$get</Scope.prototype.$apply() angular.js:12516
bootstrap/doBootstrap/<() angular.js:1382
invoke() angular.js:3873
bootstrap/doBootstrap() angular.js:1380
bootstrap() angular.js:1394
angularInit() angular.js:1307
angular.js:22040
x.Callbacks/l() jquery-2.0.3.min.js:4
x.Callbacks/c.fireWith() jquery-2.0.3.min.js:4
.ready() jquery-2.0.3.min.js:4
S() jquery-2.0.3.min.js:4

@TerryMooreII
Copy link
Owner

Here is a stackoverflow on this issue: http://stackoverflow.com/questions/3250943/problems-with-execcommand-justification-in-firefox

Basically it happens because in the directive I set the contenteditable=true (or false) via the disabled scope parameter. This is so someone can disable the control if needed. It seems that Firefox doesnt like that I am setting it this way and wants contenteditable="true" right away. I will keep researching and see if I can figure out a better way to do this to avoid this error in Firefox. Thanks for letting me know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants