← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 885664] Re: trunk : web : Browser should go on readonly mode while creating the DB

 

The root of the problem resides here at loading widget.

This patch fixed the problem, but its not the solution 100% cases. This
should surely give you a hint for solution.

=== modified file 'addons/web/static/src/js/chrome.js'
--- addons/web/static/src/js/chrome.js	2011-10-28 08:52:12 +0000
+++ addons/web/static/src/js/chrome.js	2011-11-03 13:39:47 +0000
@@ -218,10 +218,10 @@
         } else {
             clearTimeout(this.long_running_timer);
             // Don't unblock if blocked by somebody else
-            if (self.blocked_ui) {
-                this.blocked_ui = false;
-                $.unblockUI();
-            }
+//            if (self.blocked_ui) {
+//                this.blocked_ui = false;
+//                $.unblockUI();
+//            }
             this.$element.fadeOut();
             this.widget_parent.$element.removeClass('loading');
         }


Thanks,
Serpent Consulting Services.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/885664

Title:
  trunk :  web : Browser should go on readonly mode while creating the
  DB

Status in OpenERP Web Client:
  New

Bug description:
  I am using chrome browser(not sure it has to do anything with this bug
  though).

  While I create a new database,
  1. The flashy screen of  'Loading(1)' appears which makes the feel like something has gone into an infinite loop or got stuck.
  2. As an effect, one would like to retry the creation of new DB, and hence moving onto create database form. It gives you a notification that you cannot create a db with same name. IMO, it should be a readonly form.

  Attached is the video to visualize the situation.

  Thanks,
  Serpent Consulting Services.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/885664/+subscriptions


References