Merge branch 'master' of bitbucket.org:colosa/processmaker
This commit is contained in:
@@ -2820,7 +2820,7 @@ function PMFAddCaseNote($caseUid, $processUid, $taskUid, $userUid, $note, $sendM
|
||||
function PMFAddAttachmentToArray($arrayData, $index, $value, $suffix = " Copy({i})")
|
||||
{
|
||||
if (isset($suffix) && $suffix == "") {
|
||||
$suffix = " Copy ({i})";
|
||||
$suffix = " Copy({i})";
|
||||
}
|
||||
|
||||
$newIndex = $index;
|
||||
|
||||
@@ -35,7 +35,7 @@ Ext.onReady(function(){
|
||||
ctCls:'pm_search_text_field',
|
||||
allowBlank: true,
|
||||
width: 150,
|
||||
emptyText: _('ID_ENTER_SEARCH_TERM'),//'enter search term',
|
||||
emptyText: _('ID_EMPTY_SEARCH'),//'enter search term',
|
||||
listeners: {
|
||||
specialkey: function(f,e){
|
||||
if (e.getKey() == e.ENTER) {
|
||||
@@ -353,7 +353,7 @@ Ext.onReady(function(){
|
||||
ctCls:'pm_search_text_field',
|
||||
allowBlank: true,
|
||||
width: 150,
|
||||
emptyText: _('ID_ENTER_SEARCH_TERM'),//'enter search term',
|
||||
emptyText: _('ID_EMPTY_SEARCH'),//'enter search term',
|
||||
listeners: {
|
||||
specialkey: function(f,e){
|
||||
if (e.getKey() == e.ENTER) {
|
||||
|
||||
@@ -213,13 +213,18 @@ function openCaseNotesWindow(appUid1, delIndex, modalSw, appTitle, proUid, taskU
|
||||
growMin: 40,
|
||||
growMax: 80,
|
||||
maxLengthText : 500,
|
||||
allowBlank :true,
|
||||
allowBlank :false,
|
||||
selectOnFocus :true,
|
||||
enableKeyEvents: true,
|
||||
listeners : {
|
||||
scope : this,
|
||||
keyup : updateTextCtr,
|
||||
keydown: updateTextCtr
|
||||
keydown: updateTextCtr,
|
||||
'change': function(field, newVal, oldVal){
|
||||
var textAreaValue = newVal.replace(/^\s+/,'').replace(/\s+$/,'');
|
||||
field.setValue(textAreaValue.trim());
|
||||
Ext.getCmp('caseNoteText').focus(false, 200);
|
||||
}
|
||||
}
|
||||
})
|
||||
],
|
||||
|
||||
@@ -107,7 +107,7 @@ Ext.onReady(function(){
|
||||
ctCls:'pm_search_text_field',
|
||||
allowBlank: true,
|
||||
width: 150,
|
||||
emptyText: _('ID_ENTER_SEARCH_TERM'),//'enter search term',
|
||||
emptyText: _('ID_EMPTY_SEARCH'),//'enter search term',
|
||||
listeners: {
|
||||
specialkey: function(f,e){
|
||||
if (e.getKey() == e.ENTER) {
|
||||
|
||||
@@ -61,7 +61,7 @@ Ext.onReady(function(){
|
||||
ctCls:'pm_search_text_field',
|
||||
allowBlank: true,
|
||||
width: 150,
|
||||
emptyText: _('ID_ENTER_SEARCH_TERM'),//'enter search term',
|
||||
emptyText: _('ID_EMPTY_SEARCH'),//'enter search term',
|
||||
listeners: {
|
||||
specialkey: function(f,e){
|
||||
if (e.getKey() == e.ENTER) {
|
||||
|
||||
@@ -932,7 +932,7 @@ emailServer.application = {
|
||||
var txtSearch = new Ext.form.TextField({
|
||||
id: "txtSearch",
|
||||
|
||||
emptyText: _("ID_ENTER_SEARCH_TERM"),
|
||||
emptyText: _("ID_EMPTY_SEARCH"),
|
||||
width: 150,
|
||||
allowBlank: true,
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@ Ext.onReady(function(){
|
||||
ctCls:'pm_search_text_field',
|
||||
allowBlank: true,
|
||||
width: 150,
|
||||
emptyText: _('ID_ENTER_SEARCH_TERM'),
|
||||
emptyText: _('ID_EMPTY_SEARCH'),
|
||||
listeners: {
|
||||
specialkey: function(f,e){
|
||||
if (e.getKey() == e.ENTER) {
|
||||
|
||||
@@ -90,7 +90,7 @@ Ext.onReady(function(){
|
||||
ctCls:'pm_search_text_field',
|
||||
allowBlank: true,
|
||||
width: 150,
|
||||
emptyText: _('ID_ENTER_SEARCH_TERM'),
|
||||
emptyText: _('ID_EMPTY_SEARCH'),
|
||||
listeners: {
|
||||
specialkey: function(f,e){
|
||||
if (e.getKey() == e.ENTER) {
|
||||
|
||||
@@ -568,7 +568,7 @@ Ext.onReady(function(){
|
||||
ctCls:'pm_search_text_field',
|
||||
allowBlank: true,
|
||||
width: 110,
|
||||
emptyText: _('ID_ENTER_SEARCH_TERM'),
|
||||
emptyText: _('ID_EMPTY_SEARCH'),
|
||||
listeners: {
|
||||
specialkey: function(f,e){
|
||||
if (e.getKey() == e.ENTER) {
|
||||
@@ -583,7 +583,7 @@ Ext.onReady(function(){
|
||||
ctCls:'pm_search_text_field',
|
||||
allowBlank: true,
|
||||
width: 110,
|
||||
emptyText: _('ID_ENTER_SEARCH_TERM'),
|
||||
emptyText: _('ID_EMPTY_SEARCH'),
|
||||
listeners: {
|
||||
specialkey: function(f,e){
|
||||
if (e.getKey() == e.ENTER) {
|
||||
|
||||
@@ -172,7 +172,7 @@ Ext.onReady(function(){
|
||||
ctCls:'pm_search_text_field',
|
||||
allowBlank: true,
|
||||
width: 220,
|
||||
emptyText: _('ID_ENTER_SEARCH_TERM'),
|
||||
emptyText: _('ID_EMPTY_SEARCH'),
|
||||
listeners: {
|
||||
specialkey: function(f,e){
|
||||
if (e.getKey() == e.ENTER) {
|
||||
@@ -696,7 +696,7 @@ function validateFieldSizeAutoincrement(valueType, defaultValue) {
|
||||
ctCls:'pm_search_text_field',
|
||||
allowBlank: true,
|
||||
width: 110,
|
||||
emptyText: _('ID_ENTER_SEARCH_TERM'),
|
||||
emptyText: _('ID_EMPTY_SEARCH'),
|
||||
listeners: {
|
||||
specialkey: function(f,e){
|
||||
if (e.getKey() == e.ENTER) {
|
||||
@@ -711,7 +711,7 @@ function validateFieldSizeAutoincrement(valueType, defaultValue) {
|
||||
ctCls:'pm_search_text_field',
|
||||
allowBlank: true,
|
||||
width: 110,
|
||||
emptyText: _('ID_ENTER_SEARCH_TERM'),
|
||||
emptyText: _('ID_EMPTY_SEARCH'),
|
||||
listeners: {
|
||||
specialkey: function(f,e){
|
||||
if (e.getKey() == e.ENTER) {
|
||||
|
||||
@@ -164,7 +164,7 @@ Ext.onReady(function(){
|
||||
ctCls:'pm_search_text_field',
|
||||
allowBlank: true,
|
||||
width: 150,
|
||||
emptyText: _('ID_ENTER_SEARCH_TERM'),
|
||||
emptyText: _('ID_EMPTY_SEARCH'),
|
||||
listeners: {
|
||||
specialkey: function(f,e){
|
||||
if (e.getKey() == e.ENTER) {
|
||||
|
||||
@@ -100,7 +100,7 @@ Ext.onReady(function(){
|
||||
ctCls:'pm_search_text_field',
|
||||
allowBlank: true,
|
||||
width: 150,
|
||||
emptyText: _('ID_ENTER_SEARCH_TERM'),//'enter search term',
|
||||
emptyText: _('ID_EMPTY_SEARCH'),//'enter search term',
|
||||
listeners: {
|
||||
specialkey: function(f,e){
|
||||
if (e.getKey() == e.ENTER) {
|
||||
|
||||
@@ -360,7 +360,7 @@ Ext.onReady(function(){
|
||||
ctCls:'pm_search_text_field',
|
||||
allowBlank: true,
|
||||
width: 150,
|
||||
emptyText: _('ID_ENTER_SEARCH_TERM'),//'enter search term',
|
||||
emptyText: _('ID_EMPTY_SEARCH'),//'enter search term',
|
||||
listeners: {
|
||||
specialkey: function(f,e){
|
||||
if (e.getKey() == e.ENTER) {
|
||||
|
||||
@@ -367,7 +367,7 @@ Ext.onReady(function(){
|
||||
ctCls:'pm_search_text_field',
|
||||
allowBlank: true,
|
||||
width: 110,
|
||||
emptyText: _('ID_ENTER_SEARCH_TERM'),
|
||||
emptyText: _('ID_EMPTY_SEARCH'),
|
||||
listeners: {
|
||||
specialkey: function(f,e){
|
||||
if (e.getKey() == e.ENTER) {
|
||||
@@ -382,7 +382,7 @@ Ext.onReady(function(){
|
||||
ctCls:'pm_search_text_field',
|
||||
allowBlank: true,
|
||||
width: 110,
|
||||
emptyText: _('ID_ENTER_SEARCH_TERM'),
|
||||
emptyText: _('ID_EMPTY_SEARCH'),
|
||||
listeners: {
|
||||
specialkey: function(f,e){
|
||||
if (e.getKey() == e.ENTER) {
|
||||
|
||||
@@ -129,7 +129,7 @@ Ext.onReady(function(){
|
||||
ctCls:'pm_search_text_field',
|
||||
allowBlank: true,
|
||||
width: 150,
|
||||
emptyText: _('ID_ENTER_SEARCH_TERM'),
|
||||
emptyText: _('ID_EMPTY_SEARCH'),
|
||||
listeners: {
|
||||
specialkey: function(f,e){
|
||||
if (e.getKey() == e.ENTER) {
|
||||
|
||||
@@ -114,7 +114,7 @@ Ext.onReady(function(){
|
||||
ctCls:'pm_search_text_field',
|
||||
allowBlank: true,
|
||||
width: 150,
|
||||
emptyText: _('ID_ENTER_SEARCH_TERM'),//'enter search term',
|
||||
emptyText: _('ID_EMPTY_SEARCH'),//'enter search term',
|
||||
listeners: {
|
||||
specialkey: function(f,e){
|
||||
if (e.getKey() == e.ENTER) {
|
||||
|
||||
@@ -108,7 +108,7 @@ Ext.onReady(function(){
|
||||
ctCls:'pm_search_text_field',
|
||||
allowBlank: true,
|
||||
width: 150,
|
||||
emptyText: _('ID_ENTER_SEARCH_TERM'),
|
||||
emptyText: _('ID_EMPTY_SEARCH'),
|
||||
listeners: {
|
||||
specialkey: function(f,e){
|
||||
if (e.getKey() == e.ENTER) {
|
||||
|
||||
@@ -104,7 +104,7 @@ Ext.onReady(function(){
|
||||
ctCls:'pm_search_text_field',
|
||||
allowBlank: true,
|
||||
width: 150,
|
||||
emptyText: _('ID_ENTER_SEARCH_TERM'),
|
||||
emptyText: _('ID_EMPTY_SEARCH'),
|
||||
listeners: {
|
||||
specialkey: function(f,e){
|
||||
if (e.getKey() == e.ENTER) {
|
||||
|
||||
@@ -140,7 +140,7 @@ Ext.onReady(function(){
|
||||
ctCls:'pm_search_text_field',
|
||||
allowBlank: true,
|
||||
width: 100,
|
||||
emptyText: _('ID_ENTER_SEARCH_TERM'),//'enter search term',
|
||||
emptyText: _('ID_EMPTY_SEARCH'),//'enter search term',
|
||||
listeners: {
|
||||
specialkey: function(f,e){
|
||||
if (e.getKey() == e.ENTER) {
|
||||
|
||||
@@ -12,6 +12,29 @@
|
||||
<PAGED_TABLE_ID type="private"/>
|
||||
<PAGED_TABLE_FAST_SEARCH type="FastSearch" label="@G::LoadTranslation(ID_SEARCH)"/>
|
||||
<JS type="javascript"><![CDATA[
|
||||
|
||||
add_placeholder("form[PAGED_TABLE_FAST_SEARCH]","@G::LoadTranslation(ID_EMPTY_SEARCH)");
|
||||
function add_placeholder (id, placeholder) {
|
||||
var el = document.getElementById(id);
|
||||
el.placeholder = placeholder;
|
||||
|
||||
el.onfocus = function () {
|
||||
if(this.value == this.placeholder) {
|
||||
this.value = '';
|
||||
el.style.cssText = '';
|
||||
}
|
||||
};
|
||||
|
||||
el.onblur = function () {
|
||||
if(this.value.length == 0) {
|
||||
this.value = this.placeholder;
|
||||
el.style.cssText = 'color:#A9A9A9;';
|
||||
}
|
||||
};
|
||||
|
||||
el.onblur();
|
||||
}
|
||||
|
||||
function $_GET(q,s) {
|
||||
s = (s) ? s : self.location.search;
|
||||
var re = new RegExp('&'+q+'=([^&]*)','i');
|
||||
|
||||
@@ -8,6 +8,27 @@
|
||||
<PAGED_TABLE_FAST_SEARCH type="FastSearch" label="@G::LoadTranslation(ID_SEARCH)"/>
|
||||
<SEARCH_FILTER_FORM type="private"/>
|
||||
<js type="javascript" replaceTags="1"><![CDATA[
|
||||
var currentPagedTable = @#PAGED_TABLE_ID;
|
||||
add_placeholder("form[PAGED_TABLE_FAST_SEARCH]","@G::LoadTranslation(ID_EMPTY_SEARCH)");
|
||||
function add_placeholder (id, placeholder) {
|
||||
var el = document.getElementById(id);
|
||||
el.placeholder = placeholder;
|
||||
|
||||
el.onfocus = function () {
|
||||
if(this.value == this.placeholder) {
|
||||
this.value = '';
|
||||
el.style.cssText = '';
|
||||
}
|
||||
};
|
||||
|
||||
el.onblur = function () {
|
||||
if(this.value.length == 0) {
|
||||
this.value = this.placeholder;
|
||||
el.style.cssText = 'color:#A9A9A9;';
|
||||
}
|
||||
};
|
||||
|
||||
el.onblur();
|
||||
}
|
||||
var currentPagedTable = @#PAGED_TABLE_ID;
|
||||
]]></js>
|
||||
</dynaForm>
|
||||
|
||||
@@ -13,6 +13,27 @@
|
||||
<dynaformsFlatEditor type="private" defaultValue="../dynaforms/dynaforms_FlatEditor"/>
|
||||
<dynaformsDelete type="private" defaultValue="../dynaforms/dynaforms_Delete"/>
|
||||
<js type="javascript" replaceTags="1"><![CDATA[
|
||||
add_placeholder("form[PAGED_TABLE_FAST_SEARCH]","@G::LoadTranslation(ID_EMPTY_SEARCH)");
|
||||
function add_placeholder (id, placeholder) {
|
||||
var el = document.getElementById(id);
|
||||
el.placeholder = placeholder;
|
||||
|
||||
el.onfocus = function () {
|
||||
if(this.value == this.placeholder) {
|
||||
this.value = '';
|
||||
el.style.cssText = '';
|
||||
}
|
||||
};
|
||||
|
||||
el.onblur = function () {
|
||||
if(this.value.length == 0) {
|
||||
this.value = this.placeholder;
|
||||
el.style.cssText = 'color:#A9A9A9;';
|
||||
}
|
||||
};
|
||||
|
||||
el.onblur();
|
||||
}
|
||||
function dynaformAdd(){
|
||||
popupWindow("@G::LoadTranslation(ID_NEW_DYNAFORM)", "@G::encryptlink(@#dynaformsChoseType)?PRO_UID=@%PRO_UID" , 500, 225);
|
||||
//popupWindow('@G::LoadTranslation(ID_NEW_DYNAFORM)', '@G::encryptlink(@#dynaformsNewPlugin)?PRO_UID=@%PRO_UID' , 500, 350);
|
||||
|
||||
@@ -9,6 +9,27 @@
|
||||
<inputdocsEdit type="private" defaultValue="../inputdocs/inputdocs_Edit"/>
|
||||
<inputdocsDelete type="private" defaultValue="../inputdocs/inputdocs_Delete"/>
|
||||
<js type="javascript" replaceTags="1"><![CDATA[
|
||||
add_placeholder("form[PAGED_TABLE_FAST_SEARCH]","@G::LoadTranslation(ID_EMPTY_SEARCH)");
|
||||
function add_placeholder (id, placeholder) {
|
||||
var el = document.getElementById(id);
|
||||
el.placeholder = placeholder;
|
||||
|
||||
el.onfocus = function () {
|
||||
if(this.value == this.placeholder) {
|
||||
this.value = '';
|
||||
el.style.cssText = '';
|
||||
}
|
||||
};
|
||||
|
||||
el.onblur = function () {
|
||||
if(this.value.length == 0) {
|
||||
this.value = this.placeholder;
|
||||
el.style.cssText = 'color:#A9A9A9;';
|
||||
}
|
||||
};
|
||||
|
||||
el.onblur();
|
||||
}
|
||||
var currentPagedTable = @#PAGED_TABLE_ID;
|
||||
function inputdocsAdd(){//alert('@G::encryptlink(@#inputdocsEdit)?PRO_UID=@%PRO_UID');
|
||||
popupWindow('@G::LoadTranslation(ID_NEW_INPUTDOCS)', '@G::encryptlink(@#inputdocsEdit)?PRO_UID=@%PRO_UID' , 500, 410);
|
||||
|
||||
@@ -1,6 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<dynaForm type="xmlmenu"><MNU_ADD type="link" value="" link="#" onclick="outputdocsAdd(); return false;" colAlign="left" colWidth="100"><en><![CDATA[New]]></en></MNU_ADD><PAGED_TABLE_ID type="private"/><PAGED_TABLE_FAST_SEARCH type="FastSearch" label="@G::LoadTranslation(ID_SEARCH)"/><PRO_UID type="private"/><![CDATA[>
|
||||
]]><outputdocs_New type="private" defaultValue="../outputdocs/outputdocs_New"/><outputdocs_Edit type="private" defaultValue="../outputdocs/outputdocs_Edit"/><outputdocs_Properties type="private" defaultValue="../outputdocs/outputdocs_Properties"/><outputdocs_Delete type="private" defaultValue="../outputdocs/outputdocs_Delete"/><js type="javascript" replaceTags="1"><![CDATA[
|
||||
add_placeholder("form[PAGED_TABLE_FAST_SEARCH]","@G::LoadTranslation(ID_EMPTY_SEARCH)");
|
||||
function add_placeholder (id, placeholder) {
|
||||
var el = document.getElementById(id);
|
||||
el.placeholder = placeholder;
|
||||
|
||||
el.onfocus = function () {
|
||||
if(this.value == this.placeholder) {
|
||||
this.value = '';
|
||||
el.style.cssText = '';
|
||||
}
|
||||
};
|
||||
|
||||
el.onblur = function () {
|
||||
if(this.value.length == 0) {
|
||||
this.value = this.placeholder;
|
||||
el.style.cssText = 'color:#A9A9A9;';
|
||||
}
|
||||
};
|
||||
|
||||
el.onblur();
|
||||
}
|
||||
var currentPagedTable = @#PAGED_TABLE_ID;
|
||||
var outputdocsEditor;
|
||||
|
||||
|
||||
@@ -4,5 +4,28 @@
|
||||
>
|
||||
<PAGED_TABLE_ID type="private"/>
|
||||
<PAGED_TABLE_FAST_SEARCH type="FastSearch" label="@G::LoadTranslation(ID_SEARCH)"/>
|
||||
<JS type="javascript"><![CDATA[
|
||||
add_placeholder("form[PAGED_TABLE_FAST_SEARCH]","@G::LoadTranslation(ID_EMPTY_SEARCH)");
|
||||
function add_placeholder (id, placeholder){
|
||||
var el = document.getElementById(id);
|
||||
el.placeholder = placeholder;
|
||||
|
||||
el.onfocus = function () {
|
||||
if(this.value == this.placeholder) {
|
||||
this.value = '';
|
||||
el.style.cssText = '';
|
||||
}
|
||||
};
|
||||
|
||||
el.onblur = function () {
|
||||
if(this.value.length == 0) {
|
||||
this.value = this.placeholder;
|
||||
el.style.cssText = 'color:#A9A9A9;';
|
||||
}
|
||||
};
|
||||
|
||||
el.onblur();
|
||||
}
|
||||
]]></JS>
|
||||
|
||||
</dynaForm>
|
||||
@@ -19,6 +19,27 @@
|
||||
<PAGED_TABLE_ID type="private"/>
|
||||
<PAGED_TABLE_FAST_SEARCH type="FastSearch" label="@G::LoadTranslation(ID_SEARCH)"/>
|
||||
<JS type="javascript" replaceTags="1"><![CDATA[
|
||||
add_placeholder("form[PAGED_TABLE_FAST_SEARCH]","@G::LoadTranslation(ID_EMPTY_SEARCH)");
|
||||
function add_placeholder (id, placeholder){
|
||||
var el = document.getElementById(id);
|
||||
el.placeholder = placeholder;
|
||||
|
||||
el.onfocus = function () {
|
||||
if(this.value == this.placeholder) {
|
||||
this.value = '';
|
||||
el.style.cssText = '';
|
||||
}
|
||||
};
|
||||
|
||||
el.onblur = function () {
|
||||
if(this.value.length == 0) {
|
||||
this.value = this.placeholder;
|
||||
el.style.cssText = 'color:#A9A9A9;';
|
||||
}
|
||||
};
|
||||
|
||||
el.onblur();
|
||||
}
|
||||
var windowWidth = 600;
|
||||
var windowHeight = 460;
|
||||
|
||||
|
||||
@@ -5,5 +5,27 @@
|
||||
|
||||
<PAGED_TABLE_ID type="private"/>
|
||||
<PAGED_TABLE_FAST_SEARCH type="FastSearch" label="@G::LoadTranslation(ID_SEARCH)"/>
|
||||
|
||||
<JS type="javascript"><![CDATA[
|
||||
add_placeholder("form[PAGED_TABLE_FAST_SEARCH]","@G::LoadTranslation(ID_EMPTY_SEARCH)");
|
||||
function add_placeholder (id, placeholder){
|
||||
var el = document.getElementById(id);
|
||||
el.placeholder = placeholder;
|
||||
|
||||
el.onfocus = function () {
|
||||
if(this.value == this.placeholder) {
|
||||
this.value = '';
|
||||
el.style.cssText = '';
|
||||
}
|
||||
};
|
||||
|
||||
el.onblur = function () {
|
||||
if(this.value.length == 0) {
|
||||
this.value = this.placeholder;
|
||||
el.style.cssText = 'color:#A9A9A9;';
|
||||
}
|
||||
};
|
||||
|
||||
el.onblur();
|
||||
}
|
||||
]]></JS>
|
||||
</dynaForm>
|
||||
Reference in New Issue
Block a user