Sha256: c09ef2b9ae448b8185ab593970e082a38494cce2d9b23dbf027fc9a9e103ce34

Contents?: true

Size: 975 Bytes

Versions: 5

Compression:

Stored size: 975 Bytes

Contents

// WontoMedia - a wontology web application
// Copyright (C) 2010 - Glen E. Ivey
//    www.wontology.com
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License version
// 3 as published by the Free Software Foundation.
//
// 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 Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program in the file COPYING and/or LICENSE.  If not,
// see <http://www.gnu.org/licenses/>.


function selectOnfocusHandler(ctrl){
  ctrl.lastValue = ctrl.value;
}

function selectOnchangeHandler(ctrl, class_item_name){
  if (ctrl.value == "-1"){
    itemCreatePopup(ctrl, ctrl.lastValue, null, class_item_name);
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wontomedia-1.0.2 public/javascripts/forItemsShow.js
wontomedia-1.0.1 public/javascripts/forItemsShow.js
wontomedia-1.0.0 public/javascripts/forItemsShow.js
wontomedia-0.2.1 public/javascripts/forItemsShow.js
wontomedia-0.2.0 public/javascripts/forItemsShow.js