Merge branch 'master' of bitbucket.org:code2lab/sxrestaurant into adminbsb_ui_changes

This commit is contained in:
phyusin
2018-05-24 15:37:28 +06:30
2 changed files with 0 additions and 15 deletions

View File

@@ -1,7 +1,6 @@
$(document).ready(function() {
$(".processitems").click(function(event){
event.preventDefault();
console.log($(this).data("id"));
var item = $(this).data("id");
$(this).toggleClass("opi_selected");
@@ -13,7 +12,6 @@ $(document).ready(function() {
console.log($(this).data("id"));
var group_id = $(this).data("id");
var selector = "#" + group_id + " li div";
console.log ($(selector));
$(selector).removeClass("opi_selected");
$(selector).addClass("opi_selected");
@@ -25,7 +23,6 @@ $(document).ready(function() {
console.log($(this).data("id"));
var group_id = $(this).data("id");
var selector = "#" + group_id + " li div";
console.log ($(selector));
$(selector).removeClass("opi_selected");
});
@@ -36,7 +33,6 @@ $(document).ready(function() {
var items = new Array();
selected_div = $(".opi_selected");
$.each( selected_div, function( key, value ) {
console.log($(value).attr("data-id"));
items.push($(value).attr("data-id"));
});

View File

@@ -1,11 +0,0 @@
application_path="#{File.expand_path("../..", __FILE__)}"
directory application_path
#environment ENV.fetch("RAILS_ENV") { "production" }
environment "production"
pidfile "#{application_path}/tmp/puma/pid"
state_path "#{application_path}/tmp/puma/state"
stdout_redirect "#{application_path}/log/puma.stdout.log", "#{application_path}/log/puma.stderr.log"
port ENV.fetch("PORT") { 62158 }
workers 2
preload_app!