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

HUE-7911 [hbase] HBase browser create table js error #650

Closed
wants to merge 1 commit into from
Closed

HUE-7911 [hbase] HBase browser create table js error #650

wants to merge 1 commit into from

Conversation

ZhRuiqiang
Copy link
Contributor

No description provided.

@@ -2515,7 +2515,7 @@ ${ commonheader(None, "hbase", user, request) | n,unicode }
$(this).trigger('reset');
});

var prepareNewTableForm = function () {
window.prepareNewTableForm = function () {
Copy link
Contributor

Choose a reason for hiding this comment

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

Would this work?

function prepareNewTableForm()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I modified it to "function prepareNewTableForm()" and tested, it has the same error and doesn't work.
prepareNewTableForm function is inside of $(document).ready(){}, it is invisible outside only if in the form of 'window.prepareNewTableForm'.

@romainr
Copy link
Contributor

romainr commented Jan 26, 2018

How about a tiny bit cleaner? https://review.cloudera.org/r/12413/
From @enricoberti

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