includes/clientside/static/ajax.js
changeset 15 ad5986a53197
parent 11 ccad6026a168
child 28 dd2edcdc6c03
equal deleted inserted replaced
14:ce6053bb48d8 15:ad5986a53197
   464 
   464 
   465 // Change the user's preferred style/theme
   465 // Change the user's preferred style/theme
   466 
   466 
   467 function ajaxChangeStyle()
   467 function ajaxChangeStyle()
   468 {
   468 {
       
   469   var inner_html = '';
       
   470   inner_html += '';
       
   471 }
       
   472 
       
   473 /*
       
   474 function ajaxChangeStyle()
       
   475 {
   469   var win = document.getElementById("cn2");
   476   var win = document.getElementById("cn2");
   470   win.innerHTML = ' \
   477   win.innerHTML = ' \
   471     <form action="'+ENANO_SPECIAL_CHANGESTYLE+'" onsubmit="jws.closeWin(\'root2\');" method="post" style="text-align: center"> \
   478     <form action="'+ENANO_SPECIAL_CHANGESTYLE+'" onsubmit="jws.closeWin(\'root2\');" method="post" style="text-align: center"> \
   472     <h3>Select a theme...</h3>\
   479     <h3>Select a theme...</h3>\
   473     <select id="mdgThemeID" name="theme" onchange="ajaxGetStyles(this.value);"> \
   480     <select id="mdgThemeID" name="theme" onchange="ajaxGetStyles(this.value);"> \
   499       document.getElementById('styleSelector').innerHTML = html;
   506       document.getElementById('styleSelector').innerHTML = html;
   500       document.getElementById('styleSubmitter').style.display = 'inline'; 
   507       document.getElementById('styleSubmitter').style.display = 'inline'; 
   501     }
   508     }
   502   });
   509   });
   503 }
   510 }
       
   511 */
   504 
   512 
   505 function ajaxSwapCSS() {
   513 function ajaxSwapCSS() {
   506   setAjaxLoading();
   514   setAjaxLoading();
   507   if(_css) {
   515   if(_css) {
   508     document.getElementById('mdgCss').href = main_css;
   516     document.getElementById('mdgCss').href = main_css;