Changes for page Message Sender Macro
on 2019/04/03 13:12
on 2024/11/02 16:43
Summary
-
Objects (3 modified, 0 added, 0 removed)
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]
-
- Cached
-
... ... @@ -1,0 +1,1 @@ 1 +No - Asynchronous rendering
-
... ... @@ -1,0 +1,1 @@ 1 +No - Default categories
-
... ... @@ -1,0 +1,1 @@ 1 +Social - Default category
-
... ... @@ -1,1 +1,0 @@ 1 -Social