Skip to content

Commit cd45045

Browse files
committed
bump
1 parent 438549f commit cd45045

2 files changed

Lines changed: 4 additions & 15 deletions

File tree

OpenFlow/src/public/Controllers.ts

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1807,8 +1807,6 @@ module openflow {
18071807
return new Promise(resolve => setTimeout(resolve, ms));
18081808
}
18091809
async beforeSubmit(submission, next) {
1810-
// console.log('beforeSubmit', submission);
1811-
//next('go away!');
18121810
next();
18131811
}
18141812
async renderform() {
@@ -1894,16 +1892,8 @@ module openflow {
18941892
});
18951893
}
18961894

1897-
//
1898-
// replaceElem('div', 'span');
18991895
setTimeout(() => {
1900-
// $('button[type="button"]').contents().unwrap().wrap('<input/>');
1901-
// replaceElem('button', 'input');
1902-
// replaceElementTag('button[type="button"]', '<input></input>');
1903-
19041896
console.log("Attach buttons! 2");
1905-
// $('button[type="button"]').bind("click", function () {
1906-
19071897
$('button[type="button"]').each(function () {
19081898
var cur: any = $(this)[0];
19091899
console.log("set submit");
@@ -1994,10 +1984,9 @@ module openflow {
19941984
$('#workflowform :button').prop("disabled", true);
19951985
$('#workflowform :input').addClass("disabled");
19961986
$('#workflowform :button').addClass("disabled");
1997-
$("#workflowform :input").unbind();
1998-
$("#workflowform :button").unbind();
1999-
$("#workflowform :input").off("click");
2000-
$("#workflowform :button").off("click");
1987+
1988+
$('button[type="button"]').hide();
1989+
$('input[type="submit"]').hide();
20011990
}
20021991
if (!this.$scope.$$phase) { this.$scope.$apply(); }
20031992
}

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.528
1+
0.0.529

0 commit comments

Comments
 (0)