Author: bleny Date: 2014-06-17 16:04:52 +0200 (Tue, 17 Jun 2014) New Revision: 2052 Url: http://forge.codelutin.com/projects/wao/repository/revisions/2052 Log: fixes #5229 add spinner Modified: trunk/wao-web/src/main/webapp/wao.js Modified: trunk/wao-web/src/main/webapp/wao.js =================================================================== --- trunk/wao-web/src/main/webapp/wao.js 2014-06-17 13:56:52 UTC (rev 2051) +++ trunk/wao-web/src/main/webapp/wao.js 2014-06-17 14:04:52 UTC (rev 2052) @@ -441,6 +441,11 @@ }; this.lockSelection = function () { + if ( ! this.$spinner) { + this.$spinner = this.$container.spin(); + } else { + this.$spinner.spin(); + } if (this.useSelect2) { this.$select.select2('readonly', true); } else { @@ -449,6 +454,7 @@ }; this.unlockSelection = function () { + this.$spinner.spin(false); if (this.useSelect2) { this.$select.select2('readonly', false); this.$select.select2('open');
participants (1)
-
bleny@users.forge.codelutin.com