Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix ticket #8800: add needle editor readonly mode #435

Merged
merged 1 commit into from Oct 2, 2015

Conversation

asdil12
Copy link
Member

@asdil12 asdil12 commented Sep 24, 2015

@@ -83,18 +83,20 @@
% for my $tag (@$tags) {
<label>
<input type="checkbox" name="tags" id="tag_<%= $tag %>" class="tag_checkbox"
value="<%= $tag %>"><%= $tag %>
value="<%= $tag %>" <%= 'readonly="readonly"' unless (is_operator) %> ><%= $tag %>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for checkboxes you need to use disabled too. Otherwise they are greyed out but still state can be changed.

@asdil12
Copy link
Member Author

asdil12 commented Sep 28, 2015

The new patch doesn't disable the radio buttons in the Image column as their operation doesn't change the json.
Also I disabled the other checkboxes and radio buttons and I added a transparent div overlay onto the canvas to prevent the user from touching the areas.

aaannz pushed a commit that referenced this pull request Oct 2, 2015
fix ticket #8800: add needle editor readonly mode
@aaannz aaannz merged commit 47e95ab into os-autoinst:master Oct 2, 2015
@asdil12 asdil12 deleted the needle_editor_readonly_mode branch October 5, 2015 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants