jmuehlner commented on code in PR #796:
URL: https://github.com/apache/guacamole-client/pull/796#discussion_r1117742357
##########
guacamole/src/main/frontend/src/app/clipboard/directives/guacClipboard.js:
##########
@@ -40,13 +40,31 @@ angular.module('clipboard').directive('guacClipboard',
['$injector',
var config = {
restrict : 'E',
replace : true,
+ scope: {
+ /**
+ * The message that will be displayed within the Clipboard Editor
+ * when it does not have focus.
+ *
+ * @type String
+ */
+ inactiveContent : '=',
Review Comment:
What I meant was to have the translation done in the template, as opposed to
the controller. It _is_ technically done in a template now, but it should be
the clipboard template, not the client template, and doesn't need to be passed
through any controllers or javascript code at all.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]