From 76bb4291f99c8c2c77b2da38a377164d177f20dd Mon Sep 17 00:00:00 2001 From: Scotty Waggoner Date: Fri, 1 Mar 2019 22:05:43 -0800 Subject: [PATCH 1/2] Expose parent scope to event handlers --- angular-legacy-sortable.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/angular-legacy-sortable.js b/angular-legacy-sortable.js index ba8f868..324cd2b 100644 --- a/angular-legacy-sortable.js +++ b/angular-legacy-sortable.js @@ -92,7 +92,8 @@ models: source, oldIndex: evt.oldIndex, newIndex: evt.newIndex, - originalEvent: evt + originalEvent: evt, + scope: scope.$parent }); } From 13f0a45b894672f4fdfa0f5904bb21e3113b6a34 Mon Sep 17 00:00:00 2001 From: Scotty Waggoner Date: Mon, 24 Feb 2020 13:25:31 -0800 Subject: [PATCH 2/2] Fix sortablejs import --- angular-legacy-sortable.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/angular-legacy-sortable.js b/angular-legacy-sortable.js index ba8f868..22c4425 100644 --- a/angular-legacy-sortable.js +++ b/angular-legacy-sortable.js @@ -20,6 +20,8 @@ })(function (angular, Sortable) { 'use strict'; + // Use default import if available + Sortable = Sortable.default || Sortable; /** * @typedef {Object} ngSortEvent pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy