Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix validation error rendering on radio/checkbox #16631

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4,272 changes: 2,664 additions & 1,608 deletions package-lock.json

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 1 addition & 30 deletions src/OrchardCore.Modules/OrchardCore.AdminMenu/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -484,14 +484,14 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
throw "Font Awesome Icon Picker Exception: " + e;
}
};
var t = function t(e, a) {
this._id = t._idCounter++;
var _t = function t(e, a) {
this._id = _t._idCounter++;
this.element = c(e).addClass("iconpicker-element");
this._trigger("iconpickerCreate", {
iconpickerValue: this.iconpickerValue
});
this.options = c.extend({}, t.defaultOptions, this.element.data(), a);
this.options.templates = c.extend({}, t.defaultOptions.templates, this.options.templates);
this.options = c.extend({}, _t.defaultOptions, this.element.data(), a);
this.options.templates = c.extend({}, _t.defaultOptions.templates, this.options.templates);
this.options.originalPlacement = this.options.placement;
this.container = f.isElement(this.options.container) ? c(this.options.container) : false;
if (this.container === false) {
Expand Down Expand Up @@ -538,8 +538,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
iconpickerValue: this.iconpickerValue
});
};
t._idCounter = 0;
t.defaultOptions = {
_t._idCounter = 0;
_t.defaultOptions = {
title: false,
selected: false,
defaultValue: false,
Expand Down Expand Up @@ -568,7 +568,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
iconpickerItem: '<a role="button" href="javascript:;" class="iconpicker-item"><i></i></a>'
}
};
t.batch = function (e, a) {
_t.batch = function (e, a) {
var t = Array.prototype.slice.call(arguments, 2);
return c(e).each(function () {
var e = c(this).data("iconpicker");
Expand All @@ -577,8 +577,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
}
});
};
t.prototype = {
constructor: t,
_t.prototype = {
constructor: _t,
options: {},
_id: 0,
_trigger: function _trigger(e, a) {
Expand Down Expand Up @@ -1127,16 +1127,16 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
return this.options.placement === "inline" || this.popover.hasClass("inline");
}
};
c.iconpicker = t;
c.iconpicker = _t;
c.fn.iconpicker = function (a) {
return this.each(function () {
var e = c(this);
if (!e.data("iconpicker")) {
e.data("iconpicker", new t(this, _typeof(a) === "object" ? a : {}));
e.data("iconpicker", new _t(this, _typeof(a) === "object" ? a : {}));
}
});
};
t.defaultOptions = c.extend(t.defaultOptions, {
_t.defaultOptions = c.extend(_t.defaultOptions, {
icons: [{
title: "fab fa-500px",
searchTerms: []
Expand Down Expand Up @@ -5395,7 +5395,6 @@ var iconPickerVue = new Vue({
search: '<input type="search" class="form-control iconpicker-search" placeholder="" />' // just to leave empty the placeholder because it is not localized
}
});

$('#inline-picker').on('iconpickerSelected', function (e) {
var selected = e.iconpickerInstance.options.fullClassFormatter(e.iconpickerValue);
if (self.targetInputField) {
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,6 @@
this._sort_current = this.domPosition.prev ? $(this.domPosition.prev).next().index() : 0;
$.ui.sortable.prototype._mouseStop.apply(this, arguments); //asybnchronous execution, @see _clear for the relocate event.
},

// mjs - this function is slightly modified
// to make it easier to hover over a collapsed element and have it expand
_intersectsWithSides: function _intersectsWithSides(item) {
Expand Down Expand Up @@ -497,7 +496,6 @@
if (data.nestedSortableItem) {
delete data.nestedSortableItem; // Remove the nestedSortableItem object from the data
}

if (id) {
currentItem = {
"id": id[2]
Expand Down

Large diffs are not rendered by default.

Loading
Loading