Skip to content

Commit ebde951

Browse files
author
OpenShift Bot
committed
bump(github.com/openshift/origin-web-console): 23ed4cc6cc7c8ea0cdceeb8c0ab043fd03e3f5dd
1 parent 853e43d commit ebde951

File tree

1 file changed

+24
-15
lines changed

1 file changed

+24
-15
lines changed

pkg/assets/bindata.go

+24-15
Original file line numberDiff line numberDiff line change
@@ -11566,7 +11566,7 @@ $(this).hide(), $(".reveal-contents", b).show();
1156611566
});
1156711567
}
1156811568
};
11569-
}).directive("copyToClipboard", [ "IS_IOS", function(a) {
11569+
}).directive("copyToClipboard", function() {
1157011570
return {
1157111571
restrict:"E",
1157211572
scope:{
@@ -11580,22 +11580,21 @@ templateUrl:"views/directives/_copy-to-clipboard.html",
1158011580
controller:[ "$scope", function(a) {
1158111581
a.id = _.uniqueId("clipboardJs");
1158211582
} ],
11583-
link:function(b, c) {
11584-
if (a) return void (b.hidden = !0);
11585-
var d = $("a", c), e = d.get(0);
11586-
b.inputText && (e = d.get(1));
11587-
var f = new Clipboard(e);
11588-
f.on("success", function(a) {
11589-
$(a.trigger).attr("title", "Copied!").tooltip("fixTitle").tooltip("show").attr("title", "Copy to clipboard").tooltip("fixTitle"), a.clearSelection();
11590-
}), f.on("error", function(a) {
11583+
link:function(a, b) {
11584+
var c = $("a", b), d = c.get(0);
11585+
a.inputText && (d = c.get(1));
11586+
var e = new Clipboard(d);
11587+
e.on("success", function(a) {
11588+
$(a.trigger).attr("title", "Copied!").tooltip("fixTitle").tooltip("show").attr("title", "Copy to Clipboard").tooltip("fixTitle"), a.clearSelection();
11589+
}), e.on("error", function(a) {
1159111590
var b = /Mac/i.test(navigator.userAgent) ? "Press ⌘C to copy" :"Press Ctrl-C to copy";
11592-
$(a.trigger).attr("title", b).tooltip("fixTitle").tooltip("show").attr("title", "Copy to clipboard").tooltip("fixTitle");
11593-
}), c.on("$destroy", function() {
11594-
f.destroy();
11591+
$(a.trigger).attr("title", b).tooltip("fixTitle").tooltip("show").attr("title", "Copy to Clipboard").tooltip("fixTitle");
11592+
}), b.on("$destroy", function() {
11593+
e.destroy();
1159511594
});
1159611595
}
1159711596
};
11598-
} ]).directive("shortId", function() {
11597+
}).directive("shortId", function() {
1159911598
return {
1160011599
restrict:"E",
1160111600
scope:{
@@ -21761,8 +21760,14 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
2176121760
"<input ng-if=\"!multiline\" id=\"{{id}}\" type=\"text\" class=\"form-control\" value=\"{{inputText || clipboardText}}\" ng-disabled=\"isDisabled\" ng-readonly=\"!isDisabled\" select-on-focus>\n" +
2176221761
"<pre ng-if=\"multiline\" id=\"{{id}}\">{{inputText || clipboardText}}</pre>\n" +
2176321762
"<span ng-class=\"{ 'input-group-btn': !multiline }\" ng-hide=\"hidden\">\n" +
21764-
"<a ng-show=\"!inputText\" data-clipboard-target=\"#{{id}}\" href=\"\" ng-disabled=\"isDisabled\" data-toggle=\"tooltip\" data-placement=\"left\" data-container=\".middle\" title=\"Copy to clipboard\" role=\"button\" class=\"btn btn-default\"><i class=\"fa fa-clipboard\"/></a>\n" +
21765-
"<a ng-show=\"inputText\" data-clipboard-text=\"{{clipboardText}}\" href=\"\" ng-disabled=\"isDisabled\" data-toggle=\"tooltip\" data-placement=\"left\" data-container=\".middle\" title=\"Copy to clipboard\" role=\"button\" class=\"btn btn-default\"><i class=\"fa fa-clipboard\"/></a>\n" +
21763+
"<a ng-show=\"!inputText\" data-clipboard-target=\"#{{id}}\" href=\"\" ng-disabled=\"isDisabled\" data-toggle=\"tooltip\" data-placement=\"left\" data-container=\".middle\" title=\"Copy to Clipboard\" role=\"button\" class=\"btn btn-default\">\n" +
21764+
"<i class=\"fa fa-clipboard\" aria-hidden=\"true\"></i>\n" +
21765+
"<span class=\"sr-only\">Copy to Clipboard</span>\n" +
21766+
"</a>\n" +
21767+
"<a ng-show=\"inputText\" data-clipboard-text=\"{{clipboardText}}\" href=\"\" ng-disabled=\"isDisabled\" data-toggle=\"tooltip\" data-placement=\"left\" data-container=\".middle\" title=\"Copy to Clipboard\" role=\"button\" class=\"btn btn-default\">\n" +
21768+
"<i class=\"fa fa-clipboard\" aria-hidden=\"true\"></i>\n" +
21769+
"<span class=\"sr-only\">Copy to Clipboard</span>\n" +
21770+
"</a>\n" +
2176621771
"</span>\n" +
2176721772
"</div>"
2176821773
);
@@ -66442,6 +66447,10 @@ if (c.color || c.backColor) {
6644266447
var d = "";
6644366448
c.color && (d += "color:" + c.color + ";"), c.backColor && (d += "background-color:" + c.backColor + ";"), b += ".node-" + this._elementId + '[data-nodeId="' + c.nodeId + '"]{' + d + "}";
6644466449
}
66450+
if (c.iconColor) {
66451+
var d = "color:" + c.iconColor + ";";
66452+
b += ".node-" + this._elementId + '[data-nodeId="' + c.nodeId + '"] .node-icon{' + d + "}";
66453+
}
6644566454
}, this)), this._css + b;
6644666455
}, g.prototype._template = {
6644766456
tree:a('<ul class="list-group"></ul>'),

0 commit comments

Comments
 (0)