Failed to execute template. Cause: [Access denied when checking [script] access to [xwiki:Collaboratory.UX.HbpSkin.WebHome] for user [xwiki:XWiki.Admin]]. Click on this message for details.

Message Sender Macro - HBP Wiki

IAM21 instance, do not create collab nor modify a team, your changes will be lost


Changes for page Message Sender Macro

Last modified by superadmin on 2024/11/04 17:32

From version 2.1
edited by superadmin
on 2021/01/28 17:25
Change comment: Migrated property [contentJavaType] from class [XWiki.WikiMacroClass]
To version 7.1
edited by superadmin
on 2024/11/04 17:32
Change comment: Migrated property [type] from class [XWiki.WikiMacroParameterClass]

Summary

Details

XWiki.JavaScriptExtension[0]
Code
... ... @@ -63,12 +63,7 @@
63 63   document.fire('xwiki:activity:newActivity', msForm);
64 64   },
65 65   onFailure: function(response) {
66 - var failureReason = '';
67 - if (response.statusText == '' /* No response */ || response.status == 12031 /* In IE */) {
68 - failureReason = 'Server not responding';
69 - } else {
70 - failureReason = response.statusText;
71 - }
66 + var failureReason = response.statusText || 'Server not responding';
72 72   if (msForm) {
73 73   msForm._disabled = false
74 74   if (msForm._notification) {
... ... @@ -77,9 +77,6 @@
77 77   msForm._notification = new XWiki.widgets.Notification("$services.localization.render('xe.activity.messages.submit.failed'): " + failureReason, 'error');
78 78   }
79 79   },
80 - on1223 : function(response) { /*SUCCESS*/
81 - response.request.options.onSuccess(response);
82 - },
83 83   on0 : function(response) { /*FAILURE*/
84 84   response.request.options.onFailure(response);
85 85   },
XWiki.StyleSheetExtension[0]
Code
... ... @@ -30,7 +30,7 @@
30 30  
31 31  /* User's avatar */
32 32  .messagestream .activitySnapshot .avatar {
33 - border-radius: 4px;
33 + border-radius: 7px;
34 34   box-shadow: 0 0 2px 1px rgba(128,128,128,0.6);
35 35  }
36 36  
XWiki.WikiMacroClass[0]
Default category
... ... @@ -1,1 +1,0 @@
1 -Social
Cached
... ... @@ -1,0 +1,1 @@
1 +No
Asynchronous rendering
... ... @@ -1,0 +1,1 @@
1 +No
Default categories
... ... @@ -1,0 +1,1 @@
1 +Social