Comments (23)
Hi Tom, where do I add this workaround? I've had a look through the Umbraco files but can't see where this code would go?
from archetype.
@jmk1 I added this right in controller.js
(Archetype's) when doing some testing. Should work, but intermittently and still a bit flaky.
Thinking we might try to just have to do the sorting ourselves instead of re-using the ui-sortable
directive
from archetype.
Tom - In my version (0.4.0-alpha) there isn't a controller.js in the app_plugins/archetype folder. There is only an archetype.js file - is this the one that I should be editing?
from archetype.
@jmk1 Yes. Our build script concats them all into that one file.
from archetype.
Thanks Kevin. One other thing I'm having trouble with - after I've edited the archetype.js file, I don't think the updated file is loading in Umbraco - I've tried clearing the browser cache and restarting the application. Is there anything else I need to do?
from archetype.
@jmk1 Yep :) Check this link to clear the cache: http://imulus.github.io/Archetype/#umbraco-caching
from archetype.
@jmk1
Worth mentioning, as Kevin pointed out, ideally you'd want to work off the source (controller.js
) and use our build script to copy the changes to your site Umbraco (grunt watch:dev --target="D:\yoursite"). But, what you're doing should work fine - you're likely just running into the heavy caching in Umbraco 7.
from archetype.
Thanks for the help guys - I'm not very good with all of the new js in the U7 backend. I still can't get it to work, if I paste the timeout function (as per Tom's example above) into archetype.js (at the bottom, outside of the other functions) nothing seems to happen. And if I copy the function into the angular.module("umbraco").controller("Imulus.ArchetypeController",...) function, then the datatype disappears and is replaced by a textbox multiple with a red border. Is there anything else I should be doing?
from archetype.
@jmk1 Just tested this out again and seems to be working for most cases - might as well try it out and see how it goes. Pull request: #73
Mind giving it a shot? Here's an installable package if that helps.
from archetype.
Thanks very much Tom - I can now get it working in Firefox. It doesn't look like the updated javascript was included in the installable package js? However I copied over the new js lines from the pull request, and changed the $timeout to setTimeout and it's all working in Firefox. Thanks for the help! I appreciate it.
from archetype.
@jmk1 Whoops, may have sent you the wrong file. Glad you got it worked out! I'm not very confident in this fix, but we'll roll with it for now and see how it works. Let us know if you hit any issues.
from archetype.
Re-opening as we've received two reports this week on this issue.
from archetype.
Just stumpled upon this one. In case no one noticed yet, you can click the the field names to focus the input fields, except for the regex field apparently
from archetype.
Now's your chance to be a Archetype contributor! (hint: PR) ;)
from archetype.
Yeah, been thinking about it, it's a great project :)
from archetype.
Having the same issue.
from archetype.
@tomfulton if you still think this is related to the custom version of ui-sortable, maybe we could include the un-modified version with Archetype and load it on Archetype pages (therefore overriding the modified version)?
from archetype.
@kgiszewski Yeah, I would think that's still the issue, but I haven't looked in quite some time. I imagine your idea will work, assuming it's possible to override modules like that
from archetype.
Just a quick one to say I'm experiancing the same issue in Firefox/Win7. I installed from nuGet so I'm honestly not sure what version I am running!
PS. Once you get the cursor focused on a control, you can still tab through the fields...
from archetype.
Any updates? Using Chrome instead of Firefox for back-office stuff sucks
from archetype.
Not likely that an update will come soon. It appears tied to the variant of ui-sortable
in the Umbraco core. We haven't heard back from the core team. We have tried a variety of hacks, but ultimately we use Chrome to workaround this issue.
http://issues.umbraco.org/issue/U4-4281
Please read and consider voting.
from archetype.
If you hide the labels Firefox still misbehaves. Maybe an edge case but good to know if someone run in to this.
from archetype.
Fixed... at some point :)
from archetype.
Related Issues (20)
- Content picker (and probably media picker) label templates don't work in 7.6 HOT 2
- Fail to convert the value when GetValue<int>() ? HOT 4
- Console Error Relating to Preview Images HOT 5
- Missing Placeholder Translation Text for Icon Filter HOT 8
- Convert DataType Drop Down to Select2 HOT 5
- Allow Complex (e.g., JSON) Default Property Values HOT 4
- ToPublishedContentSet Throws Exception for Orphaned Properties HOT 2
- Support Promises and Injected Services for Label Templates HOT 15
- Automatic Newer Version Checks HOT 9
- Fieldset Labels Don't Sanitize Rich Text Immediately HOT 16
- Custom label template broken HOT 12
- Label Templates Not Fully Resolving in Umbraco 7.4.3 HOT 11
- Upgrade Check Ironically Fails to Run on Upgraded Archetype Installs HOT 2
- Label Template not working after Upgrade to 1.17.1 HOT 12
- Courier bundled in (again) HOT 4
- Archetype has been sunset HOT 16
- Fail to convert the value when GetValue<int>() ? HOT 3
- Label template empty until opening archetype HOT 2
- Automapper excpetion -Archetype.Api.ArchetypeDataTypeController
- Update archetype fieldset model field HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from archetype.