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

Modal dialog does not appear #480

Open
JackyBull opened this issue Oct 6, 2016 · 0 comments
Open

Modal dialog does not appear #480

JackyBull opened this issue Oct 6, 2016 · 0 comments

Comments

@JackyBull
Copy link

JackyBull commented Oct 6, 2016

Ink: Version 3.1.10

I want to use ink's modal dialogs but it doesn't work on my webapp.
I used exactly the code from the example on
But when i click on the open link nothing happens.

I use ink together with angularjs 1.5.0

I checked the functionality by omitting the data-trigger tag. I wanted to see whether the dialog appears automatically. But nothing happened.

Maybe the order of the script files is wrong. If so, please add a hint to the documentation.
my HTML header looks like this:

<script src="js/scriptjs.js"></script>
        <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.0/angular.min.js"></script>
        <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.0/angular-route.min.js"></script>
        <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.0/angular-cookies.js"></script>
        <script src="js/jquery-1.11.1.min.js"></script>
        <script src="js/transition.js"></script>
        <script src="js/angular-image-crop-master/image-crop.js"></script>
        <script src="js/angular-recursive.js"></script>
        <script src="js/angular-typeahead.js"></script>
        <script src="js/ng-google-chart.js"></script>
        <script src="js/jsSha.js"></script>
        <script src="js/smart-table.min.js"></script>

        <!-- load Ink's javascript files from the cdn -->

        <script type="text/javascript" src="http://cdn.ink.sapo.pt/3.1.10/js/holder.js"></script>
        <script type="text/javascript" src="http://cdn.ink.sapo.pt/3.1.10/js/ink-all.min.js"></script>
        <script type="text/javascript" src="http://cdn.ink.sapo.pt/3.1.10/js/autoload.js"></script>
         <!-- test browser flexbox support and load legacy grid if unsupported -->
        <script type="text/javascript" src="http://cdn.ink.sapo.pt/3.1.10/js/modernizr.js"></script>
        <script type="text/javascript">
            Modernizr.load({
                test: Modernizr.flexbox,
                nope: 'http://cdn.ink.sapo.pt/3.1.10/css/ink-legacy.min.css'
            });
        </script>
        <script type="text/javascript" src="js/angular-translate.min.js"></script>
        <script type="text/javascript" src="js/angular-translate-loader-url.min.js"></script>
        <script type="text/javascript" src="js/angular-translate-loader-static-files.min.js"></script>
        <script>custom webapp scripts</script>

UPDATE: Pagination doesn't work either. I wanted to use it on a table.

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

No branches or pull requests

1 participant