google chrome - GAS not working on windows machine -


i created application using gas , html service. works on safari , chrome on mac, using different logins google apps account, same accounts, not run on of browsers in windows machine.

regards, arjun

code load page

function doget(e) {   logger.log( utilities.jsonstringify(e) );   if (!e.parameter.page | e.parameter['page'] == 'index'){   var template = htmlservice.createtemplatefromfile('index');   var htmloutput = template.evaluate()                    .setsandboxmode(htmlservice.sandboxmode.iframe);   return htmloutput;   }    return htmlservice.createtemplatefromfile(e.parameter['page']).evaluate(); } 

the page not loading

<style type="text/css">  #header { height:100px; background:green; font-size:300%; color: black; align-content: centre; }  body {     padding: 50px; }  .animate {     transition: 0.1s;     -webkit-transition: 0.1s; }  .action-button {     position: relative;     padding: 10px 40px;   margin: 0px 10px 10px 0px;   float: left;     border-radius: 10px;     font-family: 'pacifico', cursive;     font-size: 25px;     color: #fff;     text-decoration: none;   }  .blue {     background-color: #3498db;     border-bottom: 5px solid #2980b9;     text-shadow: 0px -2px #2980b9; }  .red {     background-color: #e74c3c;     border-bottom: 5px solid #bd3e31;     text-shadow: 0px -2px #bd3e31; }  .green {     background-color: #82bf56;     border-bottom: 5px solid #669644;     text-shadow: 0px -2px #669644; }  .yellow {     background-color: #f2cf66;     border-bottom: 5px solid #d1b358;     text-shadow: 0px -2px #d1b358; }  .action-button:active {     transform: translate(0px,5px);   -webkit-transform: translate(0px,5px);     border-bottom: 1px solid; }  </style>  <!-- display header -->  <div id="header">green leaf airconditioning services llc</div>  <!-- set div users , not supervisors -->  <? var logged_user = getcurruser(); ?>  <label><?=logged_user?></label>  <div id='users'>  <p><?var url = getscripturl();?><a href='<?=url?>?page=timesheet'> <input type='button' name='formload' value="time sheet" class="action-button animate blue"></a></p> <p><?var url = getscripturl();?><a href='<?=url?>?page=expclaim'> <input type='button' name='formload' value="expense claim" class="action-button animate blue"></a></p> <p><?var url = getscripturl();?><a href='<?=url?>?page=leaveapp'> <input type='button' name='formload' value="leave request" class="action-button animate blue"></a></p> <p><?var url = getscripturl();?><a href='<?=url?>?page=tktrequest'> <input type='button' name='formload' value="ticket request" class="action-button animate blue"></a></p>  </div>  <div id='status'> <!-- options increased later --> <!-- <p><?var url = getscripturl();?><a href='<?=url?>?page=timesheet'> <input type='button' name='formload' value="time sheet" class="action-button animate blue"></a></p> --> <p><?var url = getscripturl();?><a href='<?=url?>?page=expclaimstatus'> <input type='button' name='formload' value="expense claim status" class="action-button animate blue"></a></p> <p><?var url = getscripturl();?><a href='<?=url?>?page=leavestatus'> <input type='button' name='formload' value="leave status" class="action-button animate blue"></a></p> <p><?var url = getscripturl();?><a href='<?=url?>?page=tktstatus'> <input type='button' name='formload' value="ticket status" class="action-button animate blue"></a></p>   </div>   <!-- show when user supervisor -->  <div id='supervisors'>  </div> 

it works on browser on mac not work on browser in windows.

you'll need create test app, little code possible in order go through process of elimination debug wrong. create index page no styling; 1 scriptlet; take conditional check out of doget(); , reproduce problem. when work, start adding code , html in little @ time. that's need answer.


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -