mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-742: Use "data-disabled" instead of "disabled" for directive attributes.
Internet Explorer 11 interprets the "disabled" attribute on all HTML elements, even unknown elements like AngularJS directives, disabling any input fields that end up on the DOM tree within those elements. This breaks the login form. The alternative "data-disabled" attribute form supported by AngularJS allows things to work without interference.
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
<div class="fields">
|
<div class="fields">
|
||||||
<guac-form-field ng-repeat="field in form.fields" namespace="namespace"
|
<guac-form-field ng-repeat="field in form.fields" namespace="namespace"
|
||||||
ng-if="isVisible(field)"
|
ng-if="isVisible(field)"
|
||||||
disabled="disabled"
|
data-disabled="disabled"
|
||||||
field="field" model="values[field.name]"></guac-form-field>
|
field="field" model="values[field.name]"></guac-form-field>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@@ -27,7 +27,7 @@
|
|||||||
namespace="'LOGIN'"
|
namespace="'LOGIN'"
|
||||||
content="remainingFields"
|
content="remainingFields"
|
||||||
model="enteredValues"
|
model="enteredValues"
|
||||||
disabled="submitted"></guac-form>
|
data-disabled="submitted"></guac-form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Login/continue button -->
|
<!-- Login/continue button -->
|
||||||
|
Reference in New Issue
Block a user