Merge branch 'MDL-86952-501' of https://github.com/paulholden/moodle into MOODLE_501_STABLE
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
<div class="modal-header {{$headerclasses}}{{headerclasses}}{{/headerclasses}}" data-region="header">
|
||||
|
||||
{{$header}}
|
||||
<h5 id="{{uniqid}}-modal-title" class="modal-title" data-region="title">{{$title}}{{title}}{{/title}}</h5>
|
||||
<h5 id="{{uniqid}}-modal-title" class="modal-title text-truncate" data-region="title">{{$title}}{{title}}{{/title}}</h5>
|
||||
{{/header}}
|
||||
<button type="button" class="btn-close" data-action="hide" aria-label="{{#cleanstr}}closebuttontitle{{/cleanstr}}"></button>
|
||||
</div>
|
||||
|
||||
@@ -429,7 +429,7 @@ Y.extend(DRAGDROP, Y.Base, {
|
||||
|
||||
// Build the list of drop targets.
|
||||
var droplist = Y.Node.create('<ul></ul>');
|
||||
droplist.addClass('dragdrop-keyboard-drag');
|
||||
droplist.addClass('dragdrop-keyboard-drag ps-2');
|
||||
var listitem, listlink, listitemtext;
|
||||
|
||||
// Search for possible drop targets.
|
||||
@@ -479,6 +479,7 @@ Y.extend(DRAGDROP, Y.Base, {
|
||||
}
|
||||
listlink.setContent(listitemtext);
|
||||
|
||||
listlink.setAttribute('class', 'aalink d-inline-block mw-100 text-truncate');
|
||||
// Add a data attribute so we can get the real drop target.
|
||||
listlink.setAttribute('data-drop-target', node.get('id'));
|
||||
// Allow tabbing to the link.
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -429,7 +429,7 @@ Y.extend(DRAGDROP, Y.Base, {
|
||||
|
||||
// Build the list of drop targets.
|
||||
var droplist = Y.Node.create('<ul></ul>');
|
||||
droplist.addClass('dragdrop-keyboard-drag');
|
||||
droplist.addClass('dragdrop-keyboard-drag ps-2');
|
||||
var listitem, listlink, listitemtext;
|
||||
|
||||
// Search for possible drop targets.
|
||||
@@ -479,6 +479,7 @@ Y.extend(DRAGDROP, Y.Base, {
|
||||
}
|
||||
listlink.setContent(listitemtext);
|
||||
|
||||
listlink.setAttribute('class', 'aalink d-inline-block mw-100 text-truncate');
|
||||
// Add a data attribute so we can get the real drop target.
|
||||
listlink.setAttribute('data-drop-target', node.get('id'));
|
||||
// Allow tabbing to the link.
|
||||
|
||||
Vendored
+1
-1
@@ -140,7 +140,7 @@ Y.extend(DIALOGUE, Y.Panel, {
|
||||
}
|
||||
|
||||
this.setStdModContent(Y.WidgetStdMod.HEADER,
|
||||
'<h5 id="' + this.get('id') + '-wrap-header-text">' + this.get('headerContent') + '</h5>',
|
||||
'<h5 id="' + this.get('id') + '-wrap-header-text" class="text-truncate">' + this.get('headerContent') + '</h5>',
|
||||
Y.WidgetStdMod.REPLACE);
|
||||
|
||||
// Initialise the element cache.
|
||||
|
||||
Vendored
+2
-2
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -140,7 +140,7 @@ Y.extend(DIALOGUE, Y.Panel, {
|
||||
}
|
||||
|
||||
this.setStdModContent(Y.WidgetStdMod.HEADER,
|
||||
'<h5 id="' + this.get('id') + '-wrap-header-text">' + this.get('headerContent') + '</h5>',
|
||||
'<h5 id="' + this.get('id') + '-wrap-header-text" class="text-truncate">' + this.get('headerContent') + '</h5>',
|
||||
Y.WidgetStdMod.REPLACE);
|
||||
|
||||
// Initialise the element cache.
|
||||
|
||||
+2
-1
@@ -427,7 +427,7 @@ Y.extend(DRAGDROP, Y.Base, {
|
||||
|
||||
// Build the list of drop targets.
|
||||
var droplist = Y.Node.create('<ul></ul>');
|
||||
droplist.addClass('dragdrop-keyboard-drag');
|
||||
droplist.addClass('dragdrop-keyboard-drag ps-2');
|
||||
var listitem, listlink, listitemtext;
|
||||
|
||||
// Search for possible drop targets.
|
||||
@@ -477,6 +477,7 @@ Y.extend(DRAGDROP, Y.Base, {
|
||||
}
|
||||
listlink.setContent(listitemtext);
|
||||
|
||||
listlink.setAttribute('class', 'aalink d-inline-block mw-100 text-truncate');
|
||||
// Add a data attribute so we can get the real drop target.
|
||||
listlink.setAttribute('data-drop-target', node.get('id'));
|
||||
// Allow tabbing to the link.
|
||||
|
||||
+1
-1
@@ -110,7 +110,7 @@ Y.extend(DIALOGUE, Y.Panel, {
|
||||
}
|
||||
|
||||
this.setStdModContent(Y.WidgetStdMod.HEADER,
|
||||
'<h5 id="' + this.get('id') + '-wrap-header-text">' + this.get('headerContent') + '</h5>',
|
||||
'<h5 id="' + this.get('id') + '-wrap-header-text" class="text-truncate">' + this.get('headerContent') + '</h5>',
|
||||
Y.WidgetStdMod.REPLACE);
|
||||
|
||||
// Initialise the element cache.
|
||||
|
||||
@@ -1759,6 +1759,11 @@ nav.navbar .logo img {
|
||||
|
||||
ul.dragdrop-keyboard-drag li {
|
||||
list-style-type: none;
|
||||
a,
|
||||
a:hover {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
a.disabled:hover,
|
||||
|
||||
@@ -27355,6 +27355,11 @@ nav.navbar .logo img {
|
||||
ul.dragdrop-keyboard-drag li {
|
||||
list-style-type: none;
|
||||
}
|
||||
ul.dragdrop-keyboard-drag li a,
|
||||
ul.dragdrop-keyboard-drag li a:hover {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a.disabled:hover,
|
||||
a.disabled {
|
||||
|
||||
@@ -27355,6 +27355,11 @@ nav.navbar .logo img {
|
||||
ul.dragdrop-keyboard-drag li {
|
||||
list-style-type: none;
|
||||
}
|
||||
ul.dragdrop-keyboard-drag li a,
|
||||
ul.dragdrop-keyboard-drag li a:hover {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a.disabled:hover,
|
||||
a.disabled {
|
||||
|
||||
Reference in New Issue
Block a user