kjac
1c9bce8b66
Explicitly set form as dirty on row changes
...
Fix issue #123 . Explicitly call $setDirty() on the PE form when
reordering or removing rows, thus ensuring the editor will be prompted
to discard changes if navigating away before saving.
2014-05-12 21:51:19 +02:00
Kevin Giszewski
9829ab796a
Remove setDirty()
...
- Not sure how it made it in
2014-05-12 19:09:29 +02:00
Kevin Giszewski
932f098837
Expose current form to nested Archetypes
2014-05-12 19:09:28 +02:00
kjac
448bbe26f0
Update fix for issue #121 + fix issue #123
...
Use the built-in dirty state to handle row changes instead of the custom
state variable introduced in the previous commit.
Additionally this solves issue #123 by setting the dirty state when rows
are removed or sorted.
2014-05-12 19:09:26 +02:00
kjac
7c3c0e041d
Fix issue #121
...
Stop prompting the editor to save unsaved changes after saving.
2014-05-12 19:09:26 +02:00
Kevin Giszewski
085ff2cecf
Add dropdown to add button
2014-05-08 13:32:04 -04:00
Kevin Giszewski
688ad534f2
Check for config for label template
2014-05-06 13:00:05 -04:00
Kevin Giszewski
6ea44c271d
Use a count on the add button rather than checking flag
2014-04-30 10:00:15 -04:00
Tom Fulton
848d25a156
Show "remove" button when MaxFieldsets = 1 and Multiple Fieldset Types
...
... so the user can switch types (remove/add) when only a single row.
We check for Multiple Fieldset Types as well, because we don't want to show a "remove" button when there's only one type allowed (presumably).
2014-04-29 19:52:23 -06:00
Kevin Giszewski
62a9ff05b9
Hide the Add button when multiple fieldsets enabled
2014-04-29 14:35:48 -04:00
Kevin Giszewski
d13a5b1b86
Remove RenderModel
...
- Use server side converters for model cleanup
2014-04-29 12:31:02 -04:00
Kevin Giszewski
b53e3529b4
Merge branch 'develop' into pr/96
2014-04-03 11:45:43 -04:00
Kevin Giszewski
d7432d1f95
Update the GUID, seems to not default properly at times
2014-04-03 11:44:18 -04:00
Andrey Shchekin
b9a0852c4f
Added a "start with Add button" option that shows "+ Add" instead of default fieldset.
2014-04-02 14:26:35 +13:00
Andrey Shchekin
3521543f17
Changed data types storage to store guids instead of ids.
2014-03-28 18:11:40 +13:00
Tom Fulton
9203718a95
Merge pull request #84 from imulus/feature/hide-label
...
Add "Hide Label" option for full-width Archetypes
2014-03-17 18:13:44 -06:00
Tom Fulton
363e614349
Allow single rows to be collapsed
...
Previously, you couldn't collapse a single row by itself, it was always expanded. Now you can collapse it, but it's still expanded on the initial page load.
2014-03-14 22:29:00 -06:00
Tom Fulton
35ea62dff1
Add "Hide Label" option for full-width Archetypes
2014-03-14 22:02:28 -06:00
Tom Fulton
8e71e5b66e
Merge pull request #76 from imulus/feature/bug-fixes-kg
...
Bug fixes
2014-03-12 16:10:36 -06:00
Kevin Giszewski
fa54294d74
Bug fixes for:
...
- #75
2014-03-12 08:12:22 -04:00
Tom Fulton
d37ee132bc
Update adding rows to adhere to new Enable Collapsing option
2014-03-06 12:15:51 -07:00
Tom Fulton
45d7db0239
Add missing dependency
2014-03-06 12:12:40 -07:00
Tom Fulton
5865b47482
Merge branch 'feature/allow-collapsing' into develop
...
Conflicts:
app/controllers/controller.js
2014-03-06 12:05:34 -07:00
Tom Fulton
be15dba68a
Merge pull request #72 from imulus/feature/auto-fill-alias
...
Auto-fill fieldset and property aliases in Config
2014-03-06 11:59:41 -07:00
Tom Fulton
7505de1cf1
Add hack to workaround U4-4181 (Firefox can't click any fields)
...
...in lieu of "proper" fix in Umbraco.
2014-03-02 19:47:21 -07:00
Tom Fulton
a09c69edc1
Auto-fill fieldset and property aliases in Config
...
* Add new aliasIsDirty property, init for existing data
* Bind label control's keyup to populate the `alias` property (when it's not dirty) using Umbraco's helpers
* Mark alias dirty on keyup
2014-03-02 18:43:12 -07:00
Tom Fulton
67c118066b
Merge branch 'develop' into feature/allow-collapsing
...
Conflicts:
app/views/archetype.html
2014-03-02 00:41:20 -07:00
Tom Fulton
f49159d2d0
Add option to make "collapsing" feature optional
...
* View: Prevent collapse/expand depending on config option, add class when enabled
* Config: Add option to view, set default to enabled for new datatypes
* CSS: Revert to normal cursor when collapsing disabled
* Note, this is a breaking change - you'll need set `Enable Collapsing?` to `true` on any existing Archetypes to retain the behavior.
2014-03-02 00:38:34 -07:00
Kevin Giszewski
10d3dd76ed
Fix a situation where null were getting into the model on save.
2014-02-26 09:39:02 -05:00
Kevin Giszewski
c49af9821c
WIP on switching to a directive based localization
2014-02-07 16:00:47 -05:00
Kevin Giszewski
4848bdc5d6
Another localization refinement
2014-02-05 18:13:09 -05:00
Kevin Giszewski
d5edb70e5b
Handle missing locale file better
2014-02-05 17:32:14 -05:00
Kevin Giszewski
6a2af3cc19
Remove unused userService call
2014-02-05 15:02:28 -05:00
Kevin Giszewski
79005262a0
Use User.locale in lieu of Settings.js
2014-02-05 15:00:25 -05:00
Kevin Giszewski
6c7ec07068
Implement Localization
2014-02-05 14:08:46 -05:00
Kevin Giszewski
a8d028fcbf
Merge branch 'feature/validation' into develop
2014-02-03 08:24:21 -05:00
Kevin Giszewski
18b0b7ab71
Merge branch 'feature/prevalue-fieldset-title' into develop
2014-02-03 08:24:05 -05:00
Kevin Giszewski
2d2658d8f4
Merge branch 'feature/default-fieldset-title' into develop
2014-02-03 08:22:39 -05:00
Kevin Giszewski
34d2420c75
Refactor a few things
2014-02-02 22:58:04 -05:00
Kevin Giszewski
139c22c560
WIP
2014-02-02 16:51:32 -05:00
Tom Fulton
b7ef53f27c
Show property alias/type in the header in Prevalue Editor
2014-02-02 14:12:39 -07:00
Kevin Giszewski
50f4e43cf6
Fix typo in the comments
2014-02-01 20:21:55 -05:00
Kevin Giszewski
5ad2c91700
Bugfixes
...
- Cleanout model properties if no longer in the config
- Test for form existence on validation
2014-02-01 20:20:09 -05:00
Kevin Giszewski
6dc745f31d
Remove dependency to $interpolate
2014-02-01 18:40:57 -05:00
Tom Fulton
a1f7d94ece
Default fieldset title when empty
2014-01-31 20:56:40 -07:00
Kevin Giszewski
110f8fc1b2
Merge IconPicker
2014-01-31 17:31:59 -05:00
Kevin Giszewski
01a45477b8
Add Icon Picker
2014-01-31 17:10:00 -05:00
Tom Fulton
8eb005941f
Remove a few edge-case features (for now?)
2014-01-31 15:05:49 -07:00
Kevin Giszewski
57d4ac42b5
Ini the config property collapser
2014-01-31 10:25:38 -05:00
Kevin Giszewski
340ab297ee
Remove Config from 'config' :)
2014-01-31 10:25:28 -05:00