mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
add setting header of javascript file
This commit is contained in:
parent
a691c9628c
commit
a15b83dc99
|
@ -32,6 +32,7 @@ require_once("class.Bootstrap.php");
|
|||
class SeedDMS_View_AddFile extends SeedDMS_Bootstrap_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
header('Content-Type: application/javascript');
|
||||
?>
|
||||
function checkForm()
|
||||
{
|
||||
|
|
|
@ -33,6 +33,7 @@ class SeedDMS_View_Categories extends SeedDMS_Bootstrap_Style {
|
|||
|
||||
function js() { /* {{{ */
|
||||
$selcat = $this->params['selcategory'];
|
||||
header('Content-Type: application/javascript');
|
||||
?>
|
||||
$(document).ready( function() {
|
||||
$( "#selector" ).change(function() {
|
||||
|
|
|
@ -32,6 +32,7 @@ require_once("class.Bootstrap.php");
|
|||
class SeedDMS_View_DefaultKeywords extends SeedDMS_Bootstrap_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
header('Content-Type: application/javascript');
|
||||
?>
|
||||
function checkForm()
|
||||
{
|
||||
|
|
|
@ -32,6 +32,7 @@ require_once("class.Bootstrap.php");
|
|||
class SeedDMS_View_DropFolderChooser extends SeedDMS_Bootstrap_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
header('Content-Type: application/javascript');
|
||||
?>
|
||||
$('#fileselect').click(function(ev) {
|
||||
attr_filename = $(ev.currentTarget).attr('filename');
|
||||
|
|
|
@ -33,6 +33,7 @@ class SeedDMS_View_EditDocument extends SeedDMS_Bootstrap_Style {
|
|||
|
||||
function js() { /* {{{ */
|
||||
$strictformcheck = $this->params['strictformcheck'];
|
||||
header('Content-Type: application/javascript');
|
||||
$this->printKeywordChooserJs('form1');
|
||||
?>
|
||||
function checkForm()
|
||||
|
|
|
@ -32,6 +32,7 @@ require_once("class.Bootstrap.php");
|
|||
class SeedDMS_View_EditUserData extends SeedDMS_Bootstrap_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
header('Content-Type: application/javascript');
|
||||
?>
|
||||
function checkForm()
|
||||
{
|
||||
|
|
|
@ -50,6 +50,8 @@ class SeedDMS_View_Settings extends SeedDMS_Bootstrap_Style {
|
|||
} /* }}} */
|
||||
|
||||
function js() { /* {{{ */
|
||||
|
||||
header('Content-Type: application/javascript');
|
||||
?>
|
||||
$(document).ready( function() {
|
||||
$('#settingstab li a').click(function(event) {
|
||||
|
|
|
@ -53,6 +53,7 @@ $(document).ready( function() {
|
|||
function js() { /* {{{ */
|
||||
$strictformcheck = $this->params['strictformcheck'];
|
||||
$dropfolderdir = $this->params['dropfolderdir'];
|
||||
header('Content-Type: application/javascript');
|
||||
$this->printDropFolderChooserJs("form1");
|
||||
?>
|
||||
function checkForm()
|
||||
|
|
|
@ -34,6 +34,8 @@ class SeedDMS_View_UsrMgr extends SeedDMS_Bootstrap_Style {
|
|||
function js() { /* {{{ */
|
||||
$seluser = $this->params['seluser'];
|
||||
$strictformcheck = $this->params['strictformcheck'];
|
||||
|
||||
header('Content-Type: application/javascript');
|
||||
?>
|
||||
function checkForm()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user