mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-04 13:54:51 -04:00
@@ -53,7 +53,7 @@ class MY_Lang extends CI_Lang
|
||||
}
|
||||
else
|
||||
{
|
||||
if(!empty($this->language[$line] || strstr($line, 'common_you_are_using')))
|
||||
if(isset($this->language[$line]) && $this->language[$line] != '')
|
||||
{
|
||||
$line = $this->language[$line];
|
||||
//if the line exists and more function arguments remain
|
||||
|
||||
@@ -517,7 +517,7 @@ $(document).ready(function()
|
||||
}
|
||||
}
|
||||
|
||||
$('[name="price"],[name="quantity"],[name="discount"],[name="description"],[name="serialnumber"]').focusout(function() {
|
||||
$('[name="price"],[name="quantity"],[name="discount"],[name="description"],[name="serialnumber"]').change(function() {
|
||||
var index = $(this).parents("tr").index() - 1;
|
||||
$("#cart_" + index).submit();
|
||||
});
|
||||
|
||||
@@ -770,7 +770,7 @@ $(document).ready(function()
|
||||
}
|
||||
}
|
||||
|
||||
$('[name="price"],[name="quantity"],[name="discount"],[name="description"],[name="serialnumber"]').focusout(function() {
|
||||
$('[name="price"],[name="quantity"],[name="discount"],[name="description"],[name="serialnumber"]').change(function() {
|
||||
$(this).parents("tr").prevAll("form:first").submit()
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user