From 7d5bc67cff3aa122fb11d5f689f354a004dc69ae Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Wed, 23 Feb 2022 17:15:26 +0100 Subject: [PATCH] Invert message and description order when showing warnigs issue11270 review376881002 (grafted from 054d42a765eb2f72f38bccc683d23343b6bd8ab9) --HG-- branch : 6.0 --- src/rpc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc.js b/src/rpc.js index 03d9a5593a..8860a247a9 100644 --- a/src/rpc.js +++ b/src/rpc.js @@ -41,7 +41,7 @@ name = data.error[1][0]; msg = data.error[1][1]; description = data.error[1][2]; - Sao.common.userwarning.run(msg, description) + Sao.common.userwarning.run(description, msg) .then(function(result) { if (!~['always', 'ok'].indexOf(result)) { dfd.reject();