# HG changeset patch
# User Mario Castello <mario.castello@peoplewalking.com>
# Date 1465416549 21600
#      mié jun 08 14:09:09 2016 -0600
# Node ID 828a0f5316050cf5b3f2f2a07e38cc22a4d099b3
# Parent  fe389a3ec022ce5565b86afd48de6813513abb19
Related to issue 32975: Delete floating to center popups

diff --git a/web/org.openbravo.mobile.core/source/component/ob-commonbuttons.js b/web/org.openbravo.mobile.core/source/component/ob-commonbuttons.js
--- a/web/org.openbravo.mobile.core/source/component/ob-commonbuttons.js
+++ b/web/org.openbravo.mobile.core/source/component/ob-commonbuttons.js
@@ -240,7 +240,7 @@
     return true;
   },
   updatePosition: function () {
-    if (!this.centered || !this.floating) {
+    if (!this.centered) {
       this.inherited(arguments);
       return true;
     }
