Мелоч
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
//
|
||||
package kz.goodssales.GoodsSales.dbms;
|
||||
|
||||
import java.io.BufferedOutputStream;
|
||||
|
||||
@ -15,7 +15,6 @@
|
||||
if(!isset($_SESSION['USER_ID'])) { $_SESSION['USER_ID']=null; }
|
||||
if(!isset($_COOKIE['GUID'])) { $_COOKIE['GUID']=null; }
|
||||
|
||||
|
||||
//include("../include/xmltools.php");
|
||||
//include("../include/toExcell.php");
|
||||
//require_once("config.php");
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
//var ScriptName='../metadata/dbms/records.jsp';
|
||||
var ScriptName='../records';
|
||||
var ScriptDName='../download';
|
||||
var ScriptUName='./upload';
|
||||
//var ScriptName='../records'; //POST
|
||||
//var ScriptDName='../download';
|
||||
//var ScriptUName='../upload';
|
||||
//var ScriptRName='../reports'; //GET For download reports (?file=name)
|
||||
@ -81,7 +81,7 @@ class SRec
|
||||
if(this.rwin!=null)
|
||||
{
|
||||
this.rwin.hideProgressBar();
|
||||
this.rwin.setContent('<table border="0px" style="width: 100%; height: 100%; background-color: #f1f1f1;"><tr><td align="center"><a href="'+findFirstNode(node,'#cdata-section').nodeValue+'">'+trt('Download_report')+': "'+this.win.getCaption().innerHTML+'".</a></td></tr></table>');
|
||||
this.rwin.setContent('<table border="0px" style="width: 100%; height: 100%; background-color: #f1f1f1;"><tr><td align="center"><a href="'+ScriptRName+'?file='+findFirstNode(node,'#cdata-section').nodeValue+'" target="_blank">'+trt('Download_report')+': "'+this.win.getCaption().innerHTML+'".</a></td></tr></table>');
|
||||
}
|
||||
}else
|
||||
alert2(trt('Alert'),"Unknown function! fn=\""+fn+"\"" );
|
||||
|
||||
@ -196,9 +196,9 @@ function alert2(title,text)
|
||||
<tr>\n\
|
||||
<td colspan="2" style="text-align: center; vertical-align: middle;">'+text+'</td>\n\
|
||||
</tr>\n\
|
||||
<tr style="height: 10px;">\n\
|
||||
<td style="width: 100%;"> </td>\n\
|
||||
<td><button class="button-secondary" id="'+win.uid+'_close" style="width: 80px;">'+trt('OK')+'</button></td>\n\
|
||||
<tr style="width: 100%;height: 10px;">\n\
|
||||
<td> </td>\n\
|
||||
<td style="width: 80px;"><button class="button-secondary" id="'+win.uid+'_close" style="width: 100%;">'+trt('OK')+'</button></td>\n\
|
||||
</tr>\n\
|
||||
</table>';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user