Skip to content

Commit

Permalink
issue #8
Browse files Browse the repository at this point in the history
  • Loading branch information
rsoika committed Feb 5, 2016
1 parent 8980817 commit a6b6e33
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>imixs-admin</artifactId>
<packaging>war</packaging>
<name>Imixs Workflow Web Admin Tool</name>
<version>4.1.0</version>
<version>4.1.1</version>
<description>Imixs Workflow Web Admin Tool</description>
<url>http://www.imixs.org/websites/imixs-org.nsf/chapter/api</url>
<organization>
Expand Down
4 changes: 2 additions & 2 deletions src/main/webapp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<!-- END container -->

<div id="footer">
<div id="footer1">Version 4.1.0</div>
<div id="footer1">Version 4.1.1</div>
<div id="footer2">

&#169; 2006-2014 <a href="http://www.imixs.com" target="_blank">Imixs
Expand All @@ -95,7 +95,7 @@
<script type="text/javascript" src="./js/ben.min.js"></script>
<script type="text/javascript" src="./js/imixs-core.js"></script>
<script type="text/javascript" src="./js/imixs-xml.js"></script>
<script type="text/javascript" src="./js/imixs-admin.js"></script>
<script type="text/javascript" src="./js/imixs-admin.js?build=201602051432"></script>

<script>
var benJS = BENJS.org.benjs.core,
Expand Down
17 changes: 14 additions & 3 deletions src/main/webapp/js/imixs-admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -582,10 +582,21 @@ IMIXS.org.imixs.workflow.adminclient = (function() {
*
*/
worklistController.bulkUpdate = function() {
if (!confirm("Do you realy want to start a bulk update now?")) {

worklistController.pull();

// test fieldname...
var re = /[a-zA-Z0-9\-\_\$\~]$/
if (!re.test(worklistController.model.fieldName)|| worklistController.model.fieldName.indexOf('\\')>-1) {
alert ("Invalid Fieldname");
return false;
}

if (!confirm("Do you really want to start a bulk update now?")) {
return false;
}
worklistController.pull();


clearLog();
printLog("Load worklist: '" + worklistController.model.query + "'...");

Expand Down Expand Up @@ -620,7 +631,7 @@ IMIXS.org.imixs.workflow.adminclient = (function() {
"xs:string");

updatedWorkitem.setItem(
worklistController.model.fieldName,
worklistController.model.fieldName.trim(),
worklistController.model.newValue,
worklistController.model.fieldType);

Expand Down

0 comments on commit a6b6e33

Please sign in to comment.