RibbonMessageGroup: Add the missing 'rounded' property for 'showMessage()'.
This commit is contained in:
parent
01e20c3fd3
commit
c53aa3b927
|
@ -218,7 +218,8 @@ RibbonBlur {
|
||||||
Window.window.messageBar = control
|
Window.window.messageBar = control
|
||||||
}
|
}
|
||||||
|
|
||||||
function showMessage(type, text, actionALabel, actionBLabel, externalURL, externalURLLabel, disableMultiline){
|
function showMessage(type, text, actionALabel, actionBLabel, externalURL,
|
||||||
|
externalURLLabel, disableMultiline, rounded){
|
||||||
let item = {}
|
let item = {}
|
||||||
if(type)
|
if(type)
|
||||||
item['type'] = type
|
item['type'] = type
|
||||||
|
@ -234,6 +235,8 @@ RibbonBlur {
|
||||||
item['externalURLLabel'] = externalURLLabel
|
item['externalURLLabel'] = externalURLLabel
|
||||||
if(disableMultiline)
|
if(disableMultiline)
|
||||||
item['disableMultiline'] = disableMultiline
|
item['disableMultiline'] = disableMultiline
|
||||||
|
if(rounded)
|
||||||
|
item['rounded'] = rounded
|
||||||
messageModel.append(item)
|
messageModel.append(item)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -218,7 +218,8 @@ RibbonBlur {
|
||||||
Window.window.messageBar = control
|
Window.window.messageBar = control
|
||||||
}
|
}
|
||||||
|
|
||||||
function showMessage(type, text, actionALabel, actionBLabel, externalURL, externalURLLabel, disableMultiline){
|
function showMessage(type, text, actionALabel, actionBLabel, externalURL,
|
||||||
|
externalURLLabel, disableMultiline, rounded){
|
||||||
let item = {}
|
let item = {}
|
||||||
if(type)
|
if(type)
|
||||||
item['type'] = type
|
item['type'] = type
|
||||||
|
@ -234,6 +235,8 @@ RibbonBlur {
|
||||||
item['externalURLLabel'] = externalURLLabel
|
item['externalURLLabel'] = externalURLLabel
|
||||||
if(disableMultiline)
|
if(disableMultiline)
|
||||||
item['disableMultiline'] = disableMultiline
|
item['disableMultiline'] = disableMultiline
|
||||||
|
if(rounded)
|
||||||
|
item['rounded'] = rounded
|
||||||
messageModel.append(item)
|
messageModel.append(item)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue