fixing AIRAVATA-1750
Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/d8ed0136 Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/d8ed0136 Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/d8ed0136 Branch: refs/heads/0.15-release-branch Commit: d8ed0136f886359e498b9574764a7513621fc35e Parents: 81b2c7f Author: Supun Nakandala <[email protected]> Authored: Thu Jul 16 18:58:51 2015 +0530 Committer: Supun Nakandala <[email protected]> Committed: Thu Jul 16 18:58:51 2015 +0530 ---------------------------------------------------------------------- app/views/partials/interface-block.blade.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d8ed0136/app/views/partials/interface-block.blade.php ---------------------------------------------------------------------- diff --git a/app/views/partials/interface-block.blade.php b/app/views/partials/interface-block.blade.php index 1f97e4f..1511c22 100644 --- a/app/views/partials/interface-block.blade.php +++ b/app/views/partials/interface-block.blade.php @@ -20,9 +20,11 @@ <select name="applicationModules[]" class="app-module-select form-control" style="min-width: 200px" readonly> @for( $i=0; $i< count( $interfaceObject->applicationModules); $i++ ) @foreach( $modules as $index => $module) + <option value="{{ $module->appModuleId }}" @if( $interfaceObject->applicationModules[$i] == $module->appModuleId) - <option value="{{ $module->appModuleId }}" selected>{{$module->appModuleName}}</option> + selected @endif + >{{$module->appModuleName}}</option> @endforeach @endfor </select>
