Skip to content
Snippets Groups Projects
Commit 51eaea66 authored by juanf's avatar juanf
Browse files

SP-909 / BIS-524 : ELN UI - Bug Fixes.

SVN: 29861
parent bd82e05b
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,8 @@ var Util = new function() { ...@@ -45,7 +45,8 @@ var Util = new function() {
'-webkit-border-radius': '6px 6px 6px 6px', '-webkit-border-radius': '6px 6px 6px 6px',
'-moz-border-radius': '6px 6px 6px 6px', '-moz-border-radius': '6px 6px 6px 6px',
'border-radius' : '6px 6px 6px 6px', 'border-radius' : '6px 6px 6px 6px',
'box-shadow' : '0 1px 10px rgba(0, 0, 0, 0.1)' 'box-shadow' : '0 1px 10px rgba(0, 0, 0, 0.1)',
'cursor' : 'default'
}; };
$('#navbar').block({ message: '', css: { width: '0px' } }); $('#navbar').block({ message: '', css: { width: '0px' } });
...@@ -66,6 +67,7 @@ var Util = new function() { ...@@ -66,6 +67,7 @@ var Util = new function() {
} }
this.showError = function(withHTML, andCallback) { this.showError = function(withHTML, andCallback) {
withHTML = withHTML + "<br>" + "<a class='btn'>Accept</a>";
this.blockUINoMessage(); this.blockUINoMessage();
jError( jError(
withHTML, withHTML,
...@@ -88,6 +90,7 @@ var Util = new function() { ...@@ -88,6 +90,7 @@ var Util = new function() {
} }
this.showSuccess = function(withHTML, andCallback) { this.showSuccess = function(withHTML, andCallback) {
withHTML = withHTML + "<br>" + "<a class='btn'>Accept</a>";
this.blockUINoMessage(); this.blockUINoMessage();
jSuccess( jSuccess(
withHTML, withHTML,
...@@ -110,6 +113,7 @@ var Util = new function() { ...@@ -110,6 +113,7 @@ var Util = new function() {
} }
this.showInfo = function(withHTML, andCallback) { this.showInfo = function(withHTML, andCallback) {
withHTML = withHTML + "<br>" + "<a class='btn'>Accept</a>";
this.blockUINoMessage(); this.blockUINoMessage();
jNotify( jNotify(
withHTML, withHTML,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment