Index: lams_gradebook/web/includes/javascript/blockexportbutton.js
===================================================================
RCS file: /usr/local/cvsroot/lams_gradebook/web/includes/javascript/blockexportbutton.js,v
diff -u -r1.2.2.3 -r1.2.2.4
--- lams_gradebook/web/includes/javascript/blockexportbutton.js 4 May 2017 04:17:08 -0000 1.2.2.3
+++ lams_gradebook/web/includes/javascript/blockexportbutton.js 11 May 2017 05:54:01 -0000 1.2.2.4
@@ -2,19 +2,20 @@
//http://geekswithblogs.net/GruffCode/archive/2010/10/28/detecting-the-file-download-dialog-in-the-browser.aspx
var fileDownloadCheckTimer;
-function blockExportButton(areaToBlock, exportExcelUrl, labelWait) {
+function blockExportButton(areaToBlock, exportExcelUrl, labelWait, smallVersion) {
var token = new Date().getTime(); //use the current timestamp as the token value
-
+ var fontSize = smallVersion ? '12px' : "16px";
+
$('#' + areaToBlock).block({
- message: '' + labelWait + '',
+ message: '' + labelWait + '',
baseZ: 1000000,
fadeIn: 0,
css: {
border: 'none',
- padding: '10px',
+ padding: '5px',
backgroundColor: '#000',
- '-webkit-border-radius': '10px',
- '-moz-border-radius': '10px',
+ '-webkit-border-radius': '5px',
+ '-moz-border-radius': '5px',
opacity: .98
},
overlayCSS: {