Submitting Drug Request without Location throws exception - should validate before

Description

It should validate whether the "your location" and "stock location" boxes have been filled before allowing you to submit.
Exception

1 2 3 4 5 6 7 8 9 Uncaught TypeError: Cannot read property 'data' of undefined Ext.define.submitRequisition/Raxa-JSS/src/pharmacy/app/controller/prescription.js?_dc=1352698814979:1223 fireext-all-debug.js:8896 Ext.define.dispatchext-all-debug.js:51131 Ext.override.fireEventext-all-debug.js:51105 Ext.define.fireHandlerext-all-debug.js:38769 Ext.define.onClickext-all-debug.js:38761 (anonymous function) Ext.apply.createListenerWrap.wrapext-all-debug.js:11071

Environment

None

Status

Assignee

Abhiram A

Reporter

Nathan Leiby

Labels

None

Time tracking

30m

Components

Affects versions

Bread Pakora (v0.2)

Priority

Major
Configure