Skip to content

BUY on market not working. #66

@krischik

Description

@krischik

The BUY button on the Steem Engine Market isn't working. I get the following error message:

2VM556:211 Uncaught TypeError: Cannot read property 'balance' of undefined
    at btnSubmitOrder (<anonymous>:211:96)
    at HTMLButtonElement.onclick (?p=market&t=ENG:1)

here:

        if (type === 'buy' && (parseFloat(quantity) * parseFloat(price)) > data.user_steemp_balance.balance) {
            $('#' + type + 'Total').addClass("is-invalid");
            isValid = false;
        }

Looking at parseFloat — could that be and i18N issue?

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions