Comments (4)
I added a pull request with this functionality. Could you test this @samnabi? Thanks a lot.
from kirby-tabs-field.
The tab now switches properly within a structure modal, but it causes a Javascript bug that freezes the browser.
A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue.
Script: http://www.shopkit.local/panel…s/js/dist/panel.min.js?v=2.4.1:4
Hard to debug the issue here, since line 4 of the minified JS file is huge.
from kirby-tabs-field.
I think this happens when having another plugin installed as I still can't reproduce it. Could you try disabling your installed plugins? That way I can probably debug it.
from kirby-tabs-field.
Looks like this error is only present on Firefox in OS X. Chrome and Safari seem to work fine.
Steps to replicate:
- Download Kirby Starterkit
- Download Tabs field at commit 8f86baa and put in in the
site/fields
folder - Replace blog.yml blueprint with this one: blog.yml.zip
- Navigate to
localhost/panel/pages/blog/edit
- Add a new structure item
- Leave
Title
blank and switch toTab Two
- Put some content in the textarea and try to save the structure item
- The modal switches back to the first tab, highlights the required
Title
field, and then chokes on a JavaScript error
from kirby-tabs-field.
Related Issues (13)
- Issue when using Kirby's structure field HOT 1
- Bundle as plugin when Kirby 2.3 is released HOT 14
- Problem related to inactive tabs being invisible, but still there HOT 8
- Current tab background incorrect when inside modal (structure field, builder field) HOT 1
- Not working in Kirby 2.2 HOT 1
- Does not work with Kirby 2.5.4 HOT 6
- e
- Getting HTTP ERROR 500 after installation HOT 1
- Installation > Would be great to get a short install guide HOT 1
- Tabs give error on structure multilingual site HOT 1
- Losing active tab after save HOT 1
- First field stays focused on other tab HOT 2
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 kirby-tabs-field.