- Using draggable on all dialogs that are applicable at the moment.
This commit is contained in:
Matt Gilman 2014-12-17 09:11:25 -05:00
parent 621b7f41cb
commit 9c08118f57
14 changed files with 50 additions and 1 deletions

View File

@ -170,6 +170,10 @@ div.button-refresh-hover {
background: transparent url(../images/buttonRefresh.png) no-repeat scroll top right;
}
.ui-draggable .dialog-header {
cursor: move;
}
/* processor status styles */
div.disabled {

View File

@ -1108,6 +1108,9 @@ nf.ConnectionConfiguration = (function () {
resetDialog();
}
}
}).draggable({
containment: 'parent',
handle: '.dialog-header'
});
// initialize the properties tabs

View File

@ -121,6 +121,9 @@ nf.PortConfiguration = (function () {
$('#port-comments').val('');
}
}
}).draggable({
containment: 'parent',
handle: '.dialog-header'
});
};

View File

@ -39,6 +39,9 @@ nf.PortDetails = (function () {
nf.Common.clearField('read-only-port-comments');
}
}
}).draggable({
containment: 'parent',
handle: '.dialog-header'
});
},

View File

@ -78,6 +78,9 @@ nf.ProcessGroupConfiguration = (function () {
$('#process-group-comments').val('');
}
}
}).draggable({
containment: 'parent',
handle: '.dialog-header'
});
},

View File

@ -38,6 +38,9 @@ nf.ProcessGroupDetails = (function () {
nf.Common.clearField('read-only-process-group-comments');
}
}
}).draggable({
containment: 'parent',
handle: '.dialog-header'
});
},

View File

@ -427,7 +427,8 @@ nf.ProcessorConfiguration = (function () {
}
}
}).draggable({
handle: ".modal-header"
containment: 'parent',
handle: '.dialog-header'
});
// initialize the bulletin combo

View File

@ -91,6 +91,9 @@ nf.RemoteProcessGroupConfiguration = (function () {
$('#remote-process-group-yield-duration').val('');
}
}
}).draggable({
containment: 'parent',
handle: '.dialog-header'
});
},

View File

@ -37,6 +37,9 @@ nf.RemoteProcessGroupDetails = (function () {
$('#read-only-remote-process-group-yield-duration').val('');
}
}
}).draggable({
containment: 'parent',
handle: '.dialog-header'
});
},

View File

@ -167,6 +167,9 @@ nf.RemoteProcessGroupPorts = (function () {
$('#remote-process-group-output-ports-container').empty();
}
}
}).draggable({
containment: 'parent',
handle: '.dialog-header'
});
};

View File

@ -128,6 +128,9 @@ nf.SecurePortConfiguration = (function () {
$('#allowed-groups').empty();
}
}
}).draggable({
containment: 'parent',
handle: '.dialog-header'
});
// listen for removal requests

View File

@ -83,6 +83,9 @@ nf.SecurePortDetails = (function () {
$('#read-only-allowed-groups').empty();
}
}
}).draggable({
containment: 'parent',
handle: '.dialog-header'
});
},

View File

@ -345,6 +345,13 @@ nf.ConnectionDetails = (function () {
}
}
});
if (overlayBackground) {
$('#connection-details').draggable({
containment: 'parent',
handle: '.dialog-header'
});
}
},
/**

View File

@ -249,6 +249,13 @@ nf.ProcessorDetails = (function () {
}
}
});
if (overlayBackground) {
$('#processor-details').draggable({
containment: 'parent',
handle: '.dialog-header'
});
}
// function for formatting the property name
var nameFormatter = function (row, cell, value, columnDef, dataContext) {