ColorlibHQ / AdminLTE

AdminLTE - Free admin dashboard template based on Bootstrap 5
https://adminlte.io
MIT License
44.06k stars 18.16k forks source link

form items not work in dashboard #224

Closed ghost closed 9 years ago

ghost commented 9 years ago

Hello, While we have demo.js and app.js any tag of

not work. I check http://almsaeedstudio.com/AdminLTE/ and we have this problem too.

almasaeed2010 commented 9 years ago

This issue has to do with the WYSIWYG plugin in the dashboard. There is a solution but it will be implemented with AdminLTE 2.0 which addresses many other major issues too. Thanks for reminding me!

ghost commented 9 years ago

Thanks. Can you give me solution? I don't use WYSIWYG editor.

kressly commented 9 years ago

Hello @aghict What he is trying to say is that you should download the latest version of AdminLte and that problem will be solved. Kindly go to this adress

http://almsaeedstudio.com/themes/AdminLTE/AdminLTE2-dist.zip

Click on it to download the latest version that may solve ur problem

almasaeed2010 commented 9 years ago

This issue has not been solved in 2.0 yet. The only realse of AdminLTE 2.0 is in its alpha stage and should not be used in production. I will inform you when this issue is solved and its solution is available.

lenamtl commented 9 years ago

Because you don't use it, you can try to remove the editor js script link and code from the page

ghost commented 9 years ago

I make RTL theme in version 1.0 and now I don't what to change my theme.

almasaeed2010 commented 9 years ago

Fixed in 2.0.

Solution: in dashboard.js: remove .disableSelection() from .sortable elements (lines 23 and 31). Final code from line 11 to 31:

  //Activate the iCheck Plugin
  $('input[type="checkbox"]').iCheck({
    checkboxClass: 'icheckbox_flat-blue',
    radioClass: 'iradio_flat-blue'
  });
  //Make the dashboard widgets sortable Using jquery UI
  $(".connectedSortable").sortable({
    placeholder: "sort-highlight",
    connectWith: ".connectedSortable",
    handle: ".box-header, .nav-tabs",
    forcePlaceholderSize: true,
    zIndex: 999999
  });
  $(".connectedSortable .box-header, .connectedSortable .nav-tabs-custom").css("cursor", "move");
  //jQuery UI sortable for the todo list
  $(".todo-list").sortable({
    placeholder: "sort-highlight",
    handle: ".handle",
    forcePlaceholderSize: true,
    zIndex: 999999
  });

We appreciate your patience.