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