hunk.code_window:             if (type !== "reapply" && this.$target.hasClass('o_slideshow')) return;
               var self = this,
                   $imgs    = $(this.get_imgs()),
                   urls = $imgs.map(function() { return $(this).attr("src"); } ).get(),
                   uuid = 0;
               $(".carousel").each(function () {
                   var id = parseInt(($(this).attr('id') || '0').replace(/[^0-9]/, ''));
                   if (id > uuid) uuid = id;
               });
               var params = {
                       srcs : urls,
                       index: 0,
                       title: "",
  
hunk.labels: keep keep keep keep replace replace replace replace replace replace keep keep keep keep
hunk.after_edit:                 urls = $imgs.map(function() { return $(this).attr("src"); } ).get();
  
hunk.file_path: addons/website/static/src/js/website.snippets.gallery.js
hunk.type: replace
file: # -*- encoding: utf-8 -*-
  ##############################################################################
  #
  #     Author:  Fekete Mihai <feketemihai@gmail.com>, Tatár Attila <atta@nvm.ro>
  #    Copyright (C) 2011-2014 TOTAL PC SYSTEMS (http://www.erpsystems.ro).
  #    Copyright (C) 2014 Fekete Mihai
  #    Copyright (C) 2014 Tatár Attila
  #     Based on precedent versions developed by Fil System, Fekete Mihai
  #
  #    This program is free software: you can redistribute it and/or modify
  #    it under the terms of the GNU General Public License as published by
  #    the Free Software Foundation, either version 3 of the License, or
  #    (at your option) any later version.
  #
  #    This program is distributed in the hope that it will be useful,
  #    but WITHOUT ANY WARRANTY; without even the implied warranty of
  #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  #    GNU General Public License for more details.
  #
  #    You should have received a copy of the GNU General Public License
  #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
  #
  ##############################################################################
  
  import res_partner
  