Compare commits

..

5 Commits

Author SHA1 Message Date
kgiszewski 9bbf366fe2 Bump version to v1.7.5 2015-05-11 15:32:46 -04:00
kgiszewski 368a9f6c07 Fix for #268 2015-05-11 15:31:46 -04:00
kgiszewski d3b3f80f3d Add Umbraco as a dependency 2015-05-11 15:20:28 -04:00
kgiszewski 11f7881dd7 Merge branch 'master' of github.com:imulus/Archetype 2015-05-04 13:46:07 -04:00
kgiszewski 9894357469 Fix #268 (This is a temp fix until a better solution can be found) 2015-05-04 13:45:49 -04:00
5 changed files with 35 additions and 20 deletions
@@ -1,4 +1,4 @@
using System.Reflection;
[assembly: AssemblyVersion("1.7.4")]
[assembly: AssemblyFileVersion("1.7.4")]
[assembly: AssemblyVersion("1.7.5")]
[assembly: AssemblyFileVersion("1.7.5")]
+13 -4
View File
@@ -87,22 +87,31 @@
return "";
}
var draggedRteSettings;
//sort config
$scope.sortableOptions = {
axis: 'y',
cursor: "move",
handle: ".handle",
start: function(ev, ui) {
ui.item.parent().find('.umb-rte textarea').each(function () {
tinyMCE.execCommand('mceRemoveEditor', false, $(this).attr('id'));
draggedRteSettings = {};
ui.item.parent().find('.mceNoEditor').each(function () {
// remove all RTEs in the dragged row and save their settings
var id = $(this).attr('id');
draggedRteSettings[id] = _.findWhere(tinyMCE.editors, { id: id }).settings;
tinyMCE.execCommand('mceRemoveEditor', false, id);
});
},
update: function (ev, ui) {
$scope.setDirty();
},
stop: function (ev, ui) {
ui.item.parent().find('.umb-rte textarea').each(function () {
tinyMCE.execCommand('mceAddEditor', false, $(this).attr('id'));
ui.item.parent().find('.mceNoEditor').each(function () {
var id = $(this).attr('id');
draggedRteSettings[id] = draggedRteSettings[id] || _.findWhere(tinyMCE.editors, { id: id }).settings;
tinyMCE.execCommand('mceRemoveEditor', false, id);
tinyMCE.init(draggedRteSettings[id]);
});
}
};
+4 -1
View File
@@ -226,7 +226,10 @@ angular.module("umbraco.directives").directive('archetypeProperty', function ($c
scope.$on('archetypeFormSubmitting', function (ev, args) {
// did the value change (if it did, it most likely did so during the "formSubmitting" event)
var currentValue = getFieldsetProperty(scope).value;
var property = getFieldsetProperty(scope);
var currentValue = property.value;
if (currentValue != scope.model.value) {
getFieldsetProperty(scope).value = scope.model.value;
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "Archetype",
"version": "1.7.4",
"version": "1.7.5",
"url": "http://github.com/imulus/archetype/",
"author": "Imulus - Kevin Giszewski - Tom Fulton - Lee Kelleher - Matt Brailsford - Kenn Jacobsen - Et. Al.",
"authorUrl": "http://imulus.com/",
+15 -12
View File
@@ -1,15 +1,18 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Archetype</id>
<version><%= version %></version>
<title><%= name %></title>
<authors>imulus, kgiszewski, tomfulton</authors>
<owners>imulus, kgiszewski, tomfulton</owners>
<projectUrl>http://github.com/imulus/archetype</projectUrl>
<description><![CDATA[Archetype for Umbraco]]></description>
<tags>umbraco</tags>
<iconUrl>http://github.com/imulus/archetype/raw/master/assets/logo.png</iconUrl>
<licenseUrl><%= licenseUrl %></licenseUrl>
</metadata>
<metadata>
<id>Archetype</id>
<version><%= version %></version>
<title><%= name %></title>
<authors>imulus, kgiszewski, tomfulton</authors>
<owners>imulus, kgiszewski, tomfulton</owners>
<projectUrl>http://github.com/imulus/archetype</projectUrl>
<description><![CDATA[Archetype for Umbraco]]></description>
<tags>umbraco</tags>
<iconUrl>http://github.com/imulus/archetype/raw/master/assets/logo.png</iconUrl>
<licenseUrl><%= licenseUrl %></licenseUrl>
<dependencies>
<dependency id="UmbracoCms.Core" version="7.1.6" />
</dependencies>
</metadata>
</package>