Adding last changes applied in cases list and login pages
This commit is contained in:
492
workflow/public_html/lib/pmUI/pmui.min.css
vendored
492
workflow/public_html/lib/pmUI/pmui.min.css
vendored
@@ -93,11 +93,11 @@
|
||||
@include font-face("SourceSansProBold", font-files("SourceSansPro-Bold/SourceSansPro-Bold-webfont.ttf", "SourceSansPro-Bold/SourceSansPro-Bold-webfont.eot", "SourceSansPro-Bold/SourceSansPro-Bold-webfont.woff", "SourceSansPro-Bold/SourceSansPro-Bold-webfont.svg"),"SourceSansPro-Bold/SourceSansPro-Bold-webfont.eot");*/
|
||||
@font-face {
|
||||
font-family: "Chivo";
|
||||
src: url('../fonts/Chivo/Chivo-Black.ttf?1608295698') format('truetype'), url('../fonts/Chivo/Chivo-BlackItalic.ttf?1608295698') format('truetype'), url('../fonts/Chivo/Chivo-Italic.ttf?1608295698') format('truetype'), url('../fonts/Chivo/Chivo-Regular.ttf?1608295698') format('truetype');
|
||||
src: url('../fonts/Chivo/Chivo-Black.ttf?1728942406') format('truetype'), url('../fonts/Chivo/Chivo-BlackItalic.ttf?1728942406') format('truetype'), url('../fonts/Chivo/Chivo-Italic.ttf?1728942406') format('truetype'), url('../fonts/Chivo/Chivo-Regular.ttf?1728942406') format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Montserrat";
|
||||
src: url('../fonts/Montserrat/Montserrat-Bold.ttf?1608295698') format('truetype'), url('../fonts/Montserrat/Montserrat-Regular.ttf?1608295698') format('truetype');
|
||||
src: url('../fonts/Montserrat/Montserrat-Bold.ttf?1728942406') format('truetype'), url('../fonts/Montserrat/Montserrat-Regular.ttf?1728942406') format('truetype');
|
||||
}
|
||||
.pmui-sprite-sprite, .pmui-sprite-arrow-down, .pmui-sprite-arrow-next, .pmui-sprite-arrow-previous, .pmui-sprite-arrow-right, .pmui-sprite-arrow-up, .pmui-sprite-delete-16, .pmui-sprite-error-64, .pmui-sprite-error, .pmui-sprite-grid-arrow-down, .pmui-sprite-grid-arrow-up, .pmui-sprite-help, .pmui-sprite-info-64, .pmui-sprite-information, .pmui-sprite-question-64, .pmui-sprite-success-64, .pmui-sprite-warning-64, .pmui-sprite-warning, .pmui-sprite-window-close, .pmui-accordion-item-closed, .pmui-accordion-item-expanded, .pmui-gridpanel-pagelink.pmui-gridpanel-nextbutton .pmui-icon, .pmui-gridpanel-pagelink.pmui-gridpanel-previousbutton .pmui-icon, .pmui-gridpanelcolumn.pmui-sortable.pmui-sort-asc .pmui-grid-sort-icon, .pmui-gridpanelcolumn.pmui-sortable.pmui-sort-desc .pmui-grid-sort-icon, .pmui-icon-help, .pmui-icon-info, .pmui-icon-error, .pmui-icon-warning, .pmui-messagewindow-icon-error, .pmui-messagewindow-icon-warning, .pmui-messagewindow-icon-info, .pmui-messagewindow-icon-success, .pmui-messagewindow-icon-confirm {
|
||||
background-image: url('../img/pmui-sprite-s947c1ade08.png');
|
||||
@@ -212,6 +212,250 @@
|
||||
width: 18px;
|
||||
}
|
||||
|
||||
.mafe-activity-task {
|
||||
background-color: white;
|
||||
border: 2px solid #3b4753;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
-ms-border-radius: 3px;
|
||||
-o-border-radius: 3px;
|
||||
border-radius: 12px;
|
||||
/*-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
|
||||
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
|
||||
box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);*/
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.mafe-activity-task-disabled {
|
||||
background-color: white;
|
||||
border: 2px solid #a5adb4;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
-ms-border-radius: 3px;
|
||||
-o-border-radius: 3px;
|
||||
border-radius: 12px;
|
||||
/*-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
|
||||
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
|
||||
box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);*/
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.pmui-pmactivity .pmui-label span {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.pmui-pmevent .pmui-label span {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.pmui-pmgateway .pmui-label span {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.pmui-pmpool .pmui-label > first-child {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.rotateText {
|
||||
color: #3b4753;
|
||||
}
|
||||
|
||||
.mafe-activity-subprocess {
|
||||
background-color: white;
|
||||
border: 4px solid #3b4753;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
-ms-border-radius: 3px;
|
||||
-o-border-radius: 3px;
|
||||
border-radius: 12px;
|
||||
/*-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
|
||||
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
|
||||
box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);*/
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.mafe-activity-subprocess-disabled {
|
||||
background-color: white;
|
||||
border: 3px solid #a5adb4;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
-ms-border-radius: 3px;
|
||||
-o-border-radius: 3px;
|
||||
border-radius: 12px;
|
||||
/*-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
|
||||
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
|
||||
box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);*/
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.pmui-pmactivity .pmui-label span {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.pmui-pmdata .pmui-label span {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.pmui-connection .pmui-label span {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.mafe-intersection {
|
||||
bacground-color: black;
|
||||
}
|
||||
|
||||
.dragConnectHandler {
|
||||
background-color: #FAB606;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
/*.dragConnectHandler.ui-draggable-dragging {
|
||||
background: green;
|
||||
z-index:200;
|
||||
}
|
||||
*/
|
||||
.dropConnectHandler {
|
||||
background-color: #3b4753;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
/*.dropConnectHandler.ui-draggable-dragging {
|
||||
background: #0317FC;
|
||||
z-index:200;
|
||||
}*/
|
||||
.dropConnectHandler.ui-state-active {
|
||||
background: white;
|
||||
}
|
||||
|
||||
.dropConnectHandler .ui-state-hover {
|
||||
background: green;
|
||||
}
|
||||
|
||||
#buttonCriteriaField {
|
||||
background: black;
|
||||
}
|
||||
|
||||
.mafe-activity-task-red {
|
||||
background-color: #ce0615;
|
||||
border: 1px solid #9f0614;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
-ms-border-radius: 3px;
|
||||
-o-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
|
||||
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
|
||||
box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.list-suggest-item :hover {
|
||||
background-color: #e0e0e0;
|
||||
}
|
||||
|
||||
.list-suggest-item.single-label :hover {
|
||||
background-color: initial;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#ActionsByEmailPanel #customGridPanelControls {
|
||||
border: 1px solid #c0c0c0;
|
||||
}
|
||||
|
||||
#customGridPanel .pmui-formpanel {
|
||||
padding: 3px !important;
|
||||
}
|
||||
|
||||
#customGridPanelControls #firstPanel {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#thirdPanel .pmui-button {
|
||||
padding: 5px 10px 5px 10px;
|
||||
width: 75px !important;
|
||||
}
|
||||
|
||||
#thirdPanel .pmui-button {
|
||||
padding: 5px 10px 5px 10px;
|
||||
width: 75px !important;
|
||||
}
|
||||
|
||||
.propertiesTask-accordionItem {
|
||||
right: 6px;
|
||||
position: absolute;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.propertiesTask-accordionButton {
|
||||
padding: 0px 7px 3px 7px;
|
||||
border: 1px solid;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.propertiesTask-accordionButton:hover {
|
||||
background: #2481c5;
|
||||
}
|
||||
|
||||
.mafe-button-delete.propertiesTask-accordionButton,
|
||||
.mafe-button-edit.propertiesTask-accordionButton {
|
||||
line-height: initial !important;
|
||||
border-right: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.mafe-button-edit.propertiesTask-accordionButton {
|
||||
border: none;
|
||||
border-right: 1px solid;
|
||||
}
|
||||
|
||||
#stepsAssignAccordion .pmui-accordion-item-header {
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
#idAssignment .pmui-accordion-item-header,
|
||||
#idRouting .pmui-accordion-item-header {
|
||||
cursor: auto;
|
||||
}
|
||||
|
||||
#stepsAssignTree .pmui-treepanel-list {
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
#stepsAssignTree .pmui-treepanel-node-collapsed {
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
#stepsMainContainer .pmui-field-label,
|
||||
#stepsMainContainer .pmui-textannotationfield {
|
||||
padding: 0px 10px 0px 10px;
|
||||
}
|
||||
|
||||
#stepsMainContainer .mafe-gridPanel {
|
||||
margin: 0px !important;
|
||||
padding: 0px 10px 0px 10px;
|
||||
border: 1px solid;
|
||||
border-color: #c0c0c0;
|
||||
}
|
||||
|
||||
#stepsMainContainer .pmui-accordion-item-body {
|
||||
padding: 3px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
#stepsAssignAccordion .pmui-accordion-item-title {
|
||||
width: 400px;
|
||||
text-transform: none;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#mainContainer #collapse-button {
|
||||
width: 160px !important;
|
||||
}
|
||||
|
||||
/* Title assignment */
|
||||
.mafe-designer-assigment-title {
|
||||
left: 15px !important;
|
||||
@@ -839,250 +1083,6 @@ a.mafe-button-create:hover{
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#buttonCriteriaField {
|
||||
background: black;
|
||||
}
|
||||
|
||||
.mafe-activity-task-red {
|
||||
background-color: #ce0615;
|
||||
border: 1px solid #9f0614;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
-ms-border-radius: 3px;
|
||||
-o-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
|
||||
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
|
||||
box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.list-suggest-item :hover {
|
||||
background-color: #e0e0e0;
|
||||
}
|
||||
|
||||
.list-suggest-item.single-label :hover {
|
||||
background-color: initial;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#ActionsByEmailPanel #customGridPanelControls {
|
||||
border: 1px solid #c0c0c0;
|
||||
}
|
||||
|
||||
#customGridPanel .pmui-formpanel {
|
||||
padding: 3px !important;
|
||||
}
|
||||
|
||||
#customGridPanelControls #firstPanel {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#thirdPanel .pmui-button {
|
||||
padding: 5px 10px 5px 10px;
|
||||
width: 75px !important;
|
||||
}
|
||||
|
||||
#thirdPanel .pmui-button {
|
||||
padding: 5px 10px 5px 10px;
|
||||
width: 75px !important;
|
||||
}
|
||||
|
||||
.propertiesTask-accordionItem {
|
||||
right: 6px;
|
||||
position: absolute;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.propertiesTask-accordionButton {
|
||||
padding: 0px 7px 3px 7px;
|
||||
border: 1px solid;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.propertiesTask-accordionButton:hover {
|
||||
background: #2481c5;
|
||||
}
|
||||
|
||||
.mafe-button-delete.propertiesTask-accordionButton,
|
||||
.mafe-button-edit.propertiesTask-accordionButton {
|
||||
line-height: initial !important;
|
||||
border-right: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.mafe-button-edit.propertiesTask-accordionButton {
|
||||
border: none;
|
||||
border-right: 1px solid;
|
||||
}
|
||||
|
||||
#stepsAssignAccordion .pmui-accordion-item-header {
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
#idAssignment .pmui-accordion-item-header,
|
||||
#idRouting .pmui-accordion-item-header {
|
||||
cursor: auto;
|
||||
}
|
||||
|
||||
#stepsAssignTree .pmui-treepanel-list {
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
#stepsAssignTree .pmui-treepanel-node-collapsed {
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
#stepsMainContainer .pmui-field-label,
|
||||
#stepsMainContainer .pmui-textannotationfield {
|
||||
padding: 0px 10px 0px 10px;
|
||||
}
|
||||
|
||||
#stepsMainContainer .mafe-gridPanel {
|
||||
margin: 0px !important;
|
||||
padding: 0px 10px 0px 10px;
|
||||
border: 1px solid;
|
||||
border-color: #c0c0c0;
|
||||
}
|
||||
|
||||
#stepsMainContainer .pmui-accordion-item-body {
|
||||
padding: 3px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
#stepsAssignAccordion .pmui-accordion-item-title {
|
||||
width: 400px;
|
||||
text-transform: none;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#mainContainer #collapse-button {
|
||||
width: 160px !important;
|
||||
}
|
||||
|
||||
.mafe-activity-task {
|
||||
background-color: white;
|
||||
border: 2px solid #3b4753;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
-ms-border-radius: 3px;
|
||||
-o-border-radius: 3px;
|
||||
border-radius: 12px;
|
||||
/*-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
|
||||
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
|
||||
box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);*/
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.mafe-activity-task-disabled {
|
||||
background-color: white;
|
||||
border: 2px solid #a5adb4;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
-ms-border-radius: 3px;
|
||||
-o-border-radius: 3px;
|
||||
border-radius: 12px;
|
||||
/*-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
|
||||
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
|
||||
box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);*/
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.pmui-pmactivity .pmui-label span {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.pmui-pmevent .pmui-label span {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.pmui-pmgateway .pmui-label span {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.pmui-pmpool .pmui-label > first-child {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.rotateText {
|
||||
color: #3b4753;
|
||||
}
|
||||
|
||||
.mafe-activity-subprocess {
|
||||
background-color: white;
|
||||
border: 4px solid #3b4753;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
-ms-border-radius: 3px;
|
||||
-o-border-radius: 3px;
|
||||
border-radius: 12px;
|
||||
/*-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
|
||||
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
|
||||
box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);*/
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.mafe-activity-subprocess-disabled {
|
||||
background-color: white;
|
||||
border: 3px solid #a5adb4;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
-ms-border-radius: 3px;
|
||||
-o-border-radius: 3px;
|
||||
border-radius: 12px;
|
||||
/*-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
|
||||
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
|
||||
box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);*/
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.pmui-pmactivity .pmui-label span {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.pmui-pmdata .pmui-label span {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.pmui-connection .pmui-label span {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.mafe-intersection {
|
||||
bacground-color: black;
|
||||
}
|
||||
|
||||
.dragConnectHandler {
|
||||
background-color: #FAB606;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
/*.dragConnectHandler.ui-draggable-dragging {
|
||||
background: green;
|
||||
z-index:200;
|
||||
}
|
||||
*/
|
||||
.dropConnectHandler {
|
||||
background-color: #3b4753;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
/*.dropConnectHandler.ui-draggable-dragging {
|
||||
background: #0317FC;
|
||||
z-index:200;
|
||||
}*/
|
||||
.dropConnectHandler.ui-state-active {
|
||||
background: white;
|
||||
}
|
||||
|
||||
.dropConnectHandler .ui-state-hover {
|
||||
background: green;
|
||||
}
|
||||
|
||||
.pmui {
|
||||
font-family: Chivo-regular, sans-serif;
|
||||
font-size: inherit;
|
||||
|
||||
43
workflow/public_html/lib/pmUI/pmui.min.js
vendored
43
workflow/public_html/lib/pmUI/pmui.min.js
vendored
@@ -5656,7 +5656,7 @@ if (typeof exports !== "undefined") {
|
||||
* @chainable
|
||||
*/
|
||||
Control.prototype.setFocus = function () {
|
||||
if (this.html) {
|
||||
if (this.html && this.html.focus) {
|
||||
this.html.focus();
|
||||
}
|
||||
};
|
||||
@@ -5904,6 +5904,20 @@ if (typeof exports !== "undefined") {
|
||||
|
||||
return this;
|
||||
};
|
||||
/**
|
||||
* Set a value in the parameter disabled.
|
||||
* @param {Boolean} value
|
||||
*/
|
||||
TextControl.prototype.setDisabled = function (value) {
|
||||
if (typeof value === 'boolean') {
|
||||
this.disabled = value;
|
||||
if (this.html) {
|
||||
this.html.disabled = value;
|
||||
}
|
||||
} else {
|
||||
throw new Error("method setDisabled() only accepts boolean values.");
|
||||
}
|
||||
};
|
||||
/**
|
||||
* Set the events for the object.
|
||||
* @chainable
|
||||
@@ -10758,7 +10772,6 @@ if (typeof exports !== "undefined") {
|
||||
this.addEvent('click').listen(this.html, function (e) {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
this.focus();
|
||||
if (typeof that.handler === 'function') {
|
||||
that.handler(that);
|
||||
}
|
||||
@@ -11873,8 +11886,7 @@ if (typeof exports !== "undefined") {
|
||||
Menu.prototype.show = function (x, y) {
|
||||
var rootMenu = this.getRootMenu(),
|
||||
targetElement = (this.targetElement && this.targetElement.html) || document.body,
|
||||
zIndex = $(targetElement).zIndex();
|
||||
|
||||
zIndex = parseInt(targetElement.style.zIndex);
|
||||
x = x || 0;
|
||||
y = y || 0;
|
||||
rootMenu.setPosition({
|
||||
@@ -13561,7 +13573,7 @@ if (typeof exports !== "undefined") {
|
||||
j,
|
||||
controls = this.getControls();
|
||||
|
||||
if (this.controls[i]) {
|
||||
if (this.controls[i] && this.controls[i].setFocus) {
|
||||
this.controls[i].setFocus();
|
||||
}
|
||||
return this;
|
||||
@@ -13693,6 +13705,17 @@ if (typeof exports !== "undefined") {
|
||||
this.controls[0].setMaxLength(maxLength);
|
||||
return this;
|
||||
};
|
||||
/**
|
||||
* Set the parameter disabled for the control.
|
||||
* @param {[disabled]} value
|
||||
* @chainable
|
||||
*/
|
||||
TextField.prototype.setDisabled = function (value) {
|
||||
if (typeof value === 'boolean') {
|
||||
this.controls[0].setDisabled(value);
|
||||
}
|
||||
return this;
|
||||
};
|
||||
/**
|
||||
* [getMaxLength description]
|
||||
* @return {[type]} [description]
|
||||
@@ -17857,7 +17880,7 @@ if (typeof exports !== "undefined") {
|
||||
if (this.layout) {
|
||||
this.layout.applyLayout();
|
||||
}
|
||||
if (this.getFields().length) {
|
||||
if (this.getFields().length && this.setFocus) {
|
||||
this.setFocus(0);
|
||||
}
|
||||
this.setButtonPanelPosition(this.buttonPanelPosition);
|
||||
@@ -17910,7 +17933,7 @@ if (typeof exports !== "undefined") {
|
||||
fields = this.getFields();
|
||||
|
||||
for (j = 0; j < fields.length; j += 1) {
|
||||
if ((!fields[j].isReadOnly || !fields[j].isReadOnly()) && !fields[j].disabled && fields[j].isVisible()) {
|
||||
if ((!fields[j].isReadOnly || !fields[j].isReadOnly()) && !fields[j].disabled && fields[j].isVisible() && fields[j].setFocus) {
|
||||
fields[j].setFocus();
|
||||
break;
|
||||
}
|
||||
@@ -36588,6 +36611,7 @@ if (typeof exports !== "undefined") {
|
||||
if (parent.getID() !== oldParent.getID()) {
|
||||
oldParent.removePort(port);
|
||||
parent.addPort(port, this.after.x, this.after.y, true);
|
||||
port.oldParent = oldParent;
|
||||
} else {
|
||||
parent.definePortPosition(port,
|
||||
new PMUI.util.Point(this.after.x, this.after.y));
|
||||
@@ -36634,6 +36658,7 @@ if (typeof exports !== "undefined") {
|
||||
parent.removePort(port);
|
||||
oldParent.addPort(port, this.before.x, this.before.y, true);
|
||||
port.canvas.regularShapes.insert(port);
|
||||
port.oldParent = parent;
|
||||
} else {
|
||||
parent.definePortPosition(port,
|
||||
new PMUI.util.Point(this.before.x, this.before.y));
|
||||
@@ -50881,7 +50906,9 @@ if (typeof exports !== "undefined") {
|
||||
};
|
||||
|
||||
ButtonField.prototype.click = function () {
|
||||
this.controls[0].click();
|
||||
if (this.controls[0].click) {
|
||||
this.controls[0].click();
|
||||
}
|
||||
return this;
|
||||
};
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user