Commit c1a3771a authored by Internship UKSW 2019's avatar Internship UKSW 2019

Initial commit

parent ecb106f3
...@@ -757,8 +757,6 @@ class FormApprover extends Component { ...@@ -757,8 +757,6 @@ class FormApprover extends Component {
if (isAlreadyExist == false) { if (isAlreadyExist == false) {
clonePage[index + 1] = true; clonePage[index + 1] = true;
} }
} else {
alert("There is no data document for subject " + this.state.subject);
} }
} catch (err) { } catch (err) {
clonePage[index] = true; clonePage[index] = true;
......
...@@ -509,8 +509,6 @@ class FormRevision extends Component { ...@@ -509,8 +509,6 @@ class FormRevision extends Component {
if (isAlreadyExist == false) { if (isAlreadyExist == false) {
clonePage[index + 1] = true; clonePage[index + 1] = true;
} }
} else {
alert("There is no data document for subject " + this.state.subject);
} }
} catch (err) { } catch (err) {
clonePage[index] = true; clonePage[index] = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment